23.12.2012 Views

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

dbstop<br />

2-390<br />

subfun. You can then use the debugging utilities, review the workspace, or<br />

issue any valid <strong>MATLAB</strong> function. Use dbcont or dbstep to resume execution<br />

of mfile. Use dbquit to exit from the Debugger.<br />

dbstop if error stops execution when any M-file you subsequently run<br />

produces a run-time error, putting <strong>MATLAB</strong> in debug mode, paused at the line<br />

that generated the error. The M-file must be in a directory that is on the search<br />

path or in the current directory. It does not include run-time errors that are<br />

detected within a try...catch block. You cannot resume execution after an<br />

error. Use dbquit to exit from the Debugger.<br />

dbstop if all error is the same as dbstop if error, except that it stops<br />

execution on any type of run-time error, including errors that are detected<br />

within a try...catch block.<br />

dbstop if warning stops execution when any M-file you subsequently run<br />

produces a run-time warning, putting <strong>MATLAB</strong> in debug mode, paused at the<br />

line that generated the warning. The M-file must be in a directory that is on<br />

the search path or in the current directory. Use dbcont or dbstep to resume<br />

execution.<br />

dbstop if naninf stops execution when any M-file you subsequently run<br />

encounters an infinite value (Inf), putting <strong>MATLAB</strong> in debug mode, paused at<br />

the line where Inf was encountered. The M-file must be in a directory that is<br />

on the search path or in the current directory. Use dbcont or dbstep to resume<br />

execution. Use dbquit to exit from the Debugger.<br />

dbstop if infnan stops execution when any M-file you subsequently run<br />

encounters a value that is not a number (NaN), putting <strong>MATLAB</strong> in debug<br />

mode, paused at the line where NaN was encountered. The M-file must be in a<br />

directory that is on the search path or in the current directory. Use dbcont or<br />

dbstep to resume execution. Use dbquit to exit from the Debugger.<br />

Remarks The at, in, and if keywords, familiar to users of the UNIX debugger dbx, are<br />

optional.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!