Break points in no debugger in nodesktop mode

1 Ansicht (letzte 30 Tage)
Aponte
Aponte am 30 Jul. 2014
Beantwortet: Ashish Gudla am 8 Aug. 2014
Hi there,
I'm currently connecting to a remote computer via an ssh tunnel. Recently I set an xserver tunnel to be able to do some plotting. However, I always start matlab with "matlab -nodesktop" because I usually only work in terminals, i.e., I do all my file editing with vim. The problem is that when I set a break point (dbstop ...) and I reach it, a matlab desktop is automatically opened. Is it possible to disable this feature? What is the reason for this behavior?
Regards,
Eduardo

Antworten (1)

Ashish Gudla
Ashish Gudla am 8 Aug. 2014
You can change this in the preferences.
On MATLAB main window select the “Home” tab and click on Preferences.
In the Preferences window choose “Editor/Debugger” on the left pane to open up the “MATLAB Editor/Debugger Preferences”. You can then uncheck the option that says “Automatically open files when MATLAB reaches a breakpoint”.

Kategorien

Mehr zu Debugging and Analysis finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by