how to debug matlab code

2 visualizaciones (últimos 30 días)
Salvatore Mazzarino
Salvatore Mazzarino el 26 de Sept. de 2012
I'm a java programmer and I usually work with netbeans. It gave me the possibility to debug my code. During debbugging, after having setted breakpoints, I can see variables values on the screen. Does it exist a similar way in matlab?

Respuesta aceptada

Kevin Claytor
Kevin Claytor el 26 de Sept. de 2012
dbstop is the corresponding main matlab debugging command. There are also GUI options from the editor, here's a reasonable, if dated, description; http://www.ee.columbia.edu/~marios/matlab/Techniques%20for%20Debugging%20MATLAB%20M-files%20(1207).pdf

Más respuestas (0)

Categorías

Más información sobre Debugging and Analysis en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by