MATLAB: Turn off compile mode

checksumcompilersimulink

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?

Best Answer

Run the following command to terminate simulation:
>> model([], [], [], 'term')
Related Question