From: Uwe B. <ou...@ma...> - 2012-10-10 09:29:12
|
>> On Wed, 10 Oct 2012 07:30:50 +0000, Torben Knudsen <tk...@es...> wrote: > I have used matlab-mode for years. Never the less I am also missing a > short guide to setting up everything in a convenient way. I simply > use the matlab db commands in the matlab-shell window but I do not > know how to make some pointer follow the relevant source code. Also, > I tried to look into a good way of using ECB yesterday but kind of ran > out of time before figuring out something. Maybe I miss something elementary. I do the following. (Using Xemacs 21.5.32 (GNU emacs is a little nicer with debugging but anyhow) In my matlab file, say test.m I start the matlab shell Then I do in the shell: >> dbstop test dbstop test >> test test 3 clear all K>> dbstep dbstep 4 A=[0 1 -1;-3 4 -1;-1 1 2] K>> dbquit dbquit >> So the window is split and repeating dbstep I see an arrow advancing in the m file and the result in the shell. It is not as nice as the emacs edebug function for lisp, but it is good enough. Uwe Brauer |