Debugging in Matlab/Octave

From GHER

(Difference between revisions)
Jump to: navigation, search
(Created page with '{| class="wikitable" |- ! Header text !! Header text !! Header text |- | Example || Example || Example |- | Example || Example || Example |- | Example || Example || Example |} …')
Line 1: Line 1:
{| class="wikitable"
{| class="wikitable"
|-
|-
-
! Header text !! Header text !! Header text
+
!
 +
! Matlab
 +
! Octave
|-
|-
-
| Example || Example || Example
+
| Stop on error
 +
|| <tt>dbstop on error</tt>
 +
|| <tt>debug_on_error(1)</tt>
|-
|-
-
| Example || Example || Example
+
| Disable stop on error
-
|-
+
|| <tt>dbclear all</tt>
-
| Example || Example || Example
+
|| <tt>debug_on_error(0)</tt>
|}
|}
-
= Stop on error =
+
see help debug in octave
-
 
+
-
Matlab:
+
-
 
+
-
dbstop on error
+

Revision as of 09:07, 20 February 2013

Matlab Octave
Stop on error dbstop on error debug_on_error(1)
Disable stop on error dbclear all debug_on_error(0)


see help debug in octave

Personal tools