Explanation

The warning('on') call enables all warnings, which can be slow and might enable warnings that you do not want.


Suggested Action

Call warning with the on option and the warning message ID for the warning that you want to enable. For more information, see “Warning Control.