Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (14 sloc) 0.248 kB
plan(2);
% In this file we test try/catch error handling, the error() function, and
% lasterr();
try
error("This is an error!");
catch
disp("ok 1");
end_try_catch
try
error("ok 2");
catch
my_err = lasterr;
disp(my_err);
end
Jump to Line
Something went wrong with that request. Please try again.