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-392<br />

Example 3 – Stop if Inf<br />

In buggy, if any of the elements of the input x are zero, a division by zero occurs.<br />

The statements<br />

dbstop if naninf<br />

buggy(0:2)<br />

produce<br />

Warning: Divide by zero.<br />

> In c:\buggy.m at line 3<br />

K»<br />

and put <strong>MATLAB</strong> in debug mode.<br />

See Also dbclear, dbcont, dbdown, dbquit, dbstack, dbstatus, dbstep, dbtype, dbup,<br />

partialpath

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

Saved successfully!

Ooh no, something went wrong!