External editor on Ubuntu 16.10
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Jacopo Morosi
il 30 Gen 2017
Modificato: Faiz Gouri
il 24 Feb 2017
I'm currently switching to linux from windows, and I'd like to use matlab in -nodesktop mode. I configured gedit to open .m files with Matlab syntax highlighting, and that is ok. But I'm not able to start gedit (or any other external editor) via the "edit" command.
How should I configure the external editor in Matlab preferences? I tried selecting "Text Editor" and setting it to /usr/bin/gedit (or /usr/bin/emacs), but It's not working.
I'm running Matlab r2016b under Ubuntu 16.10
Thanks!
0 Commenti
Risposta accettata
Faiz Gouri
il 14 Feb 2017
Modificato: Faiz Gouri
il 24 Feb 2017
I am assuming that you would like to change the Editor/Debugger under preferences in MATLAB, so when you edit any file, it will be open in that editor. But on Linux machine, when you are setting this to gedit or any other editor, its not working.
The possible reason for this is that your LD_LIBRARY_PATH has the path to some other C/C++ shared libraries that wouldn't allow this.
As a workaround, you can set the external editor in LD_LIBRARY_PATH:
LD_LIBRARY_PATH = ; /usr/bin/gedit
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Environment and Settings in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!