MATLAB Function Reference
  Go to function:
    Search    Help Desk 
lastwarn    See Also

Last warning message

Syntax

Description

lastwarn returns a string containing the last warning message issued by MATLAB.

lastwarn('') resets the lastwarn function so that it will return an empty string matrix until the next warning is encountered.

lastwarn('string') sets the last warning message to 'string'. The last warning message is updated regardless of whether warning is on or off.

See Also

lasterr, warning



[ Previous | Help Desk | Next ]