Break points in no debugger in nodesktop mode

6 次查看(过去 30 天)
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Debugging and Analysis 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by