Turn off compile mode
古いコメントを表示
Hi,
I use Model([], [], [], 'compile') to set the model in compile mode before computing some checksums. After receiving the checksums I want to close the model but I get an error that the model can't be closed since it is being compiled.
How do I turn off the compile mode?
採用された回答
その他の回答 (1 件)
Lukas
2018 年 9 月 21 日
4 投票
If the above commands doesn't help and you still see:
model([],[],[],'term')
Warning: Termination of 'model' deferred
then just try to execute model([],[],[],'term') multiple times.
I think this helps in case model had been compiled multiple times without terminating it. For example during debugging of a function that does this.
2 件のコメント
Manu Madhu
2020 年 6 月 18 日
Thank you, it works
rsating
2024 年 6 月 27 日
Repeated "term" commands worked for me too. Thanks!
カテゴリ
ヘルプ センター および File Exchange で Configure and View Diagnostics についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!