How to setup terminal for debugging MATLAB scripts while editing in vim
24 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 30 Aug. 2019
Beantwortet: MathWorks Support Team
am 27 Jan. 2020
I would like to be able to debug MATLAB files while editing them in vim.
Does MATLAB have support for using debugging and other features while using vim as an external editor?
Akzeptierte Antwort
MathWorks Support Team
am 30 Aug. 2019
MATLAB can be launched for use on the command line by passing it the command line flag '-nodesktop'. Commands can then be entered on the command line in the same way you would enter them in the MATLAB Command Window. Commands like 'plot' or 'figure' will still generate GUI windows.
By combining this functionality with a terminal multiplexing program like 'tmux' or 'screen', you can mimic the layout of the MATLAB desktop on the command line. You can then edit your files in vim while still having easy access to MATLAB commands to run and debug your script.
To debug MATLAB programs using MATLAB commands, please refer to the following documentation:
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!