Why am I receiving an abnormal exit error when running "himl_0013" from the Model Advisor?

11 visualizzazioni (ultimi 30 giorni)
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?
 

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 6 Gen 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.
 

Più risposte (0)

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Prodotti


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by