MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
warning('query','all')

warning

To enable all warnings and verify the state:

warning('on','all')
warning('query','all')

All warnings have the state 'on'.

To disable all warnings and verify the state, use this syntax:

warning('off','all')
warning

All warnings have the state 'off'.

See Also


Related Examples



  • “Restore Warnings” on page 26-37

  • “Change How Warnings Display” on page 26-40


26 Error Handling

Free download pdf