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

11 ビュー (過去 30 日間)
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?
 

採用された回答

MathWorks Support Team
MathWorks Support Team 2023 年 1 月 6 日
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 件)

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by