MATLAB: What is “Cache Software architecture objects simulink” during Simulink model update? and why does it take a long time

"cache software architecture objects simulink"MATLABmodel updatesimulink

Hi All, I am simulating a Simulink Model in MATLAB R2011B. The Compilation phase takes a long time. Upon doing sldiagnostics('sys', 'CompileStats'), I found that the total compilation time was 15s. Of this, about 8s were taken by an operation called "Cache Software architecture objects simulink". What does this operation do? And why does it take a long time?

Best Answer

The specific meaning of the "sldiagnostics" messages is meant for internal debugging, and in fact the specific context of the error can change depending on the model.
To improve the performance of your model, I suggest looking through Technical Note: Improving Simulation Performance in Simulink, or a related MATLAB Answers question: How can I speed up simulation of my Simulink model?
Related Question