Why am I receiving an abnormal exit error when running "himl_0013" from the Model Advisor?
11 views (last 30 days)
Show older comments
MathWorks Support Team
on 6 Jan 2023
Answered: MathWorks Support Team
on 27 Jan 2023
When executing the check for standard "himl_0013" on my models, I frequently (but not always) get an abnormal exit error:
Abnormal exit: Unrecognized function or variable '<temporary file name>'.
The error seems to point to some sort of temporary file. Is there any known cause for this?
Accepted Answer
MathWorks Support Team
on 6 Jan 2023
This check uses the content from the "slprj" folder that is generated for the model. If the "slprj" folder is deleted, then the check throws this kind of error. Also, if the "slprj" folder is deleted and then the check is run again, the required files are not regenerated, causing the check to throw this error.
In summary, when running this check for the first time on a fresh MATLAB session, the check will pass. Deleting the "slprj" and running the check again will throw this error.
The workaround for this issue is to clear the cache completely.
0 Comments
More Answers (0)
See Also
Categories
Find more on Simulink Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!