MATLAB: Is the code that includes Simulink Fixed Point™ message identifiers not working

simulink fixed point

Warnings
I have code that uses
warning('off',)
to turn off a warning message. My code used to work in earlier releases but does not work in Simulink Fixed Point 7.0 (R2011b).
Errors
I have code that uses a try/catch statement and performs an action based on a specific error identifier. My code used to work in earlier releases but does not work in Simulink Fixed Point 7.0 (R2011b).

Best Answer

Error and warning message identifiers have changed in Simulink Fixed Point 7.0 (R2011b).
If you use
warning('off',)
to turn off warnings, replace warning message identifiers that changed with the new message identifiers listed in the document attached to this solution, to continue to suppress the warnings.
If you use a try/catch statement in your code, replace the old identifier with the new identifier as detailed in the attached document.
To determine the identifier for a warning, run the following command just after the warning message appears:
[MSG,MSGID] = lastwarn;
This command saves the message identifier to the variable MSGID.