I have designed a custom check which produces formatted output.
Occasionally I get failure in 'Run This Check' and such message displayed:
Abnormal exit: Undefined function or variable 'loc_modelHasActiveTestHarness'.
In command window I get:
Reference to non-existent field 'uplimit'.
But neither lasterr nor lastwarn are able to detect this error message.
Is there a light weight method I can catch some information and let it be displayed with 'Abnormal exit: Reference to non-existent field 'uplimit'.'? For example, a link to the Simulink block where the failure occurred.
Best Answer