


LASTERRID Message ID associated with last error. LASTID = LASTERRID returns a string containing the identifier string corresponding to the last error message issued by MATLAB (see HELP ERROR for more information on message identifiers). See also LASTERR.


0001 function lastid = lasterrid 0002 %LASTERRID Message ID associated with last error. 0003 % LASTID = LASTERRID returns a string containing the identifier string 0004 % corresponding to the last error message issued by MATLAB (see HELP 0005 % ERROR for more information on message identifiers). 0006 % 0007 % See also LASTERR. 0008 0009 [lastmsg, lastid] = lasterr;