Break points in no debugger in nodesktop mode

2 views (last 30 days)
Aponte
Aponte on 30 Jul 2014
Answered: Ashish Gudla on 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

Answers (1)

Ashish Gudla
Ashish Gudla on 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”.

Categories

Find more on Debugging and Analysis in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!