| Contents | Index |
return
return causes a normal return to the invoking function or to the keyboard. It also terminates keyboard mode.
This determinant function uses return to handle the special case of an empty matrix:
function d = det(A)
%DET det(A) is the determinant of A.
if isempty(A)
d = 1;
return
else
...
endbreak | continue | disp | end | error | for | if | keyboard | switch | while

Explore how to use MATLAB to make advancements in engineering and science.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |