all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Debugging matlab with emacs and avoiding matlab editor
@ 2009-09-10 11:48 Torben Knudsen
  2009-09-10 13:04 ` David Engster
       [not found] ` <mailman.6384.1252587877.2239.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Torben Knudsen @ 2009-09-10 11:48 UTC (permalink / raw)
  To: help-gnu-emacs

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?
-- 
Associate Prof. Ph.D Torben Knudsen	Mobile	: (+45) 2787 9826
Section of Automation and Control,	Direct	: 6 8694
Department of Electronic Systems,	Email	: tk@es.aau.dk   
Aalborg University 
Fredrik Bajersvej 7 
DK-9220 Aalborg Ø
Denmark 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Debugging matlab with emacs and avoiding matlab editor
  2009-09-10 11:48 Debugging matlab with emacs and avoiding matlab editor Torben Knudsen
@ 2009-09-10 13:04 ` David Engster
       [not found] ` <mailman.6384.1252587877.2239.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 5+ messages in thread
From: David Engster @ 2009-09-10 13:04 UTC (permalink / raw)
  To: help-gnu-emacs

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);

If you use the latest matlab-mode (http://matlab-emacs.sf.net), it
should insert that line for you automatically.

-David





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Debugging matlab with emacs and avoiding matlab editor
       [not found] ` <mailman.6384.1252587877.2239.help-gnu-emacs@gnu.org>
@ 2009-09-11  7:41   ` Torben Knudsen
  2009-09-11  8:05   ` Torben Knudsen
  1 sibling, 0 replies; 5+ messages in thread
From: Torben Knudsen @ 2009-09-11  7:41 UTC (permalink / raw)
  To: help-gnu-emacs

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.
>
> 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?


-- 
Associate Prof. Ph.D Torben Knudsen	Mobile	: (+45) 2787 9826
Section of Automation and Control,	Direct	: 6 8694
Department of Electronic Systems,	Email	: tk@es.aau.dk   
Aalborg University 
Fredrik Bajersvej 7 
DK-9220 Aalborg Ø
Denmark 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Debugging matlab with emacs and avoiding matlab editor
       [not found] ` <mailman.6384.1252587877.2239.help-gnu-emacs@gnu.org>
  2009-09-11  7:41   ` Torben Knudsen
@ 2009-09-11  8:05   ` Torben Knudsen
  2009-09-11 11:36     ` David Engster
  1 sibling, 1 reply; 5+ messages in thread
From: Torben Knudsen @ 2009-09-11  8:05 UTC (permalink / raw)
  To: help-gnu-emacs

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.
>
> 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?


-- 
Associate Prof. Ph.D Torben Knudsen	Mobile	: (+45) 2787 9826
Section of Automation and Control,	Direct	: 6 8694
Department of Electronic Systems,	Email	: tk@es.aau.dk   
Aalborg University 
Fredrik Bajersvej 7 
DK-9220 Aalborg Ø
Denmark 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Debugging matlab with emacs and avoiding matlab editor
  2009-09-11  8:05   ` Torben Knudsen
@ 2009-09-11 11:36     ` David Engster
  0 siblings, 0 replies; 5+ messages in thread
From: David Engster @ 2009-09-11 11:36 UTC (permalink / raw)
  To: help-gnu-emacs

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-09-11 11:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-10 11:48 Debugging matlab with emacs and avoiding matlab editor Torben Knudsen
2009-09-10 13:04 ` David Engster
     [not found] ` <mailman.6384.1252587877.2239.help-gnu-emacs@gnu.org>
2009-09-11  7:41   ` Torben Knudsen
2009-09-11  8:05   ` Torben Knudsen
2009-09-11 11:36     ` David Engster

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.