Turn off compile mode
Ältere Kommentare anzeigen
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?
Akzeptierte Antwort
Weitere Antworten (1)
Lukas
am 21 Sep. 2018
4 Stimmen
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 Kommentare
Manu Madhu
am 18 Jun. 2020
Thank you, it works
rsating
am 27 Jun. 2024
Repeated "term" commands worked for me too. Thanks!
Kategorien
Mehr zu Configure and View Diagnostics finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!