Name

warning — warning messages

Calling Sequence

warning('string')
warning('off')
warning('on')
mode = warning('query')

Description

prints the character string 'string' in a warning message

'on' enable warning messages.

'off' disable warning messages.

'query' get state 'on' or 'off'.

Examples

 
warning('on') 
warning('this is a warning')
warning('off')
warning('this is a warning')
warning('query')
warning('on')
 

See Also

error