How can I run all tests for one specific subsystem without compiling the root level model?

1 view (last 30 days)
I have configured and run Simulink Model Advisor Checks over MATLAB script. Some check need the compiled mode of the model which creates an error, because model compilation failed.
Is it possible to run Model Advisor Checks "ModelAdvisor.run(...)" only for a specific subsystem in a Simulik model?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 28 Jun 2019
A Model Advisor Check can not run on a specific subsystem of a Simulink model. The whole model must be compilable.
A workaround could be to copy / paste the subsystem into new blank Simulink model and run the Model Advisor Checks again.

More Answers (0)

Tags

No tags entered yet.

下载188bet金宝搏


Release

R2019a

Community Treasure Hunt

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

Start Hunting!