Break points in no debugger in nodesktop mode

3 ビュー (過去 30 日間)
Aponte
Aponte 2014 年 7 月 30 日
回答済み: Ashish Gudla 2014 年 8 月 8 日
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 Center および File ExchangeDebugging and Analysis についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by