配置 Sublimetext3 作为 MATLAB 的编辑器
Tofloor
poster avatar
huangqy
deepin
2018-07-15 04:59
Author
最近想配置 Sublimetext3 作为 MATLAB 的编辑器,参考了帖子 https://www.jianshu.com/p/5c65a95c7137
按照其中办法顺利配置好 windows 的。但是 deepin 下的配置出了问题。
已经使用安装 matlab-support,使得 matlab 可以直接从终端启动。

配置代码:
  1. {
  2.     "cmd": ["deepin-terminal -x bash -c \"matlab -nosplash -nodesktop -r ${file_base_name}; exec bash\""],
  3.     "selector":"source.m",
  4.     "shell":"true",
  5.     "working_dir": "$file_path"
  6. }
Copy the Code
输出错误:求帮忙看看是什么问题
  1. (deepin-terminal:9913): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
  2. Trace/breakpoint trap (core dumped)
  3. [Finished in 0.2s with exit code 133]
  4. [cmd: ['deepin-terminal -x bash -c "matlab -nosplash -nodesktop -r test; exec bash"']]
  5. [dir: /home/huangqy/Downloads]
  6. [path: /usr/local/texlive/2017/bin/x86_64-linux:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin]
Copy the Code

另外,如果直接在终端中输入
  1. matlab -nosplash -nodesktop -r 文件名
Copy the Code
则可以在终端中直接使用matlab命令(这是我想在 sublimetext3 中 ctrl+b 之后的效果)



Reply Favorite View the author
All Replies
avatar
wangqizai1918
deepin
2018-07-17 02:48
#1
你这个Linux版的安装镜像能给个百度云分享么?我只有16b
Reply View the author
avatar
wangqizai1918
deepin
2018-07-17 02:51
#2
你这样子配置岂不是每次Ctrl+b以后都会开一个新的matlab?
Reply View the author
avatar
ritter
deepin
2018-07-17 03:26
#3
octave了解一下。
Reply View the author