help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging matlab with emacs and avoiding matlab editor


From: David Engster
Subject: Re: Debugging matlab with emacs and avoiding matlab editor
Date: Fri, 11 Sep 2009 13:36:16 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux)

Torben Knudsen <tk@es.aau.dk> writes:
> David Engster <deng@randomsample.de> writes:
>> Torben Knudsen <tk@es.aau.dk> writes:
>>> I am using matlab mode in emacs to run matlab without using any of the
>>> matlab buildt in GUI.  However, when I use debugging eg. "dbstop
>>> error" the matlab editor opens.  Does anyone know how to avoid this?
>>
>> com.mathworks.services.Prefs.setBooleanPref('EditorGraphicalDebugging',
>> false);
>
> I have use the above as a matlab command but it does not stop the
> matlab editor from opening on errors when debugging.

I don't know any other method. You can disable usage of Java completely
by appending "-nojvm" to the Matlab command switches (M-x
customize-variable RET matlab-shell-command-switches RET), but then you
also won't be able to use anything else that requires Java.

>> If you use the latest matlab-mode (http://matlab-emacs.sf.net), it
>> should insert that line for you automatically.
>
> I use matlab.el 3.0.1.  What is the differense between this version
> and the one above you suggest?

It works better with recent Matlab versions, for example.

-David





reply via email to

[Prev in Thread] Current Thread [Next in Thread]