IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
irerror.m
Go to the documentation of this file.
1
%>@ingroup usercomm
2
%>@file
3
%>@brief Verboses and
throws
an Exception
4
%>
5
%> Exceptions raised by
this
function
represent bad usage, and not necessarily a bug
6
function
irerror
(s)
7
irverbose
(['{ERROR}
', s], 3);
8
% dbstack();
9
s = strrep(s, '
\
', '
\\
'); % I think that MATLAB uses s as first argument o a printf()-like function, which messes the message if it has backslashes!
10
throw(MException('
IRootLab:bad
', s));
irverbose
function irverbose(in s, in level)
irerror
function irerror(in s)
m
misc
usercomm
irerror.m
Generated on Tue May 19 2015 20:46:05 for IRootLab by
1.8.9.1