while writing script for automatic Model advisor check for a model , getting this error

3 Ansichten (letzte 30 Tage)

Antworten (1)

Lokesh
Lokesh am 23 Jul. 2024
Hi Manjunath,
The issue arises because the new argument is not correctly specified as a character vector. The new argument should be a string, but it appears to be used as a variable, which is not recognized. The correct syntax should be:
ma = Simulink.ModelAdvisor.getModelAdvisor('simple_mdl', 'new');

Kategorien

Mehr zu Check Model Compliance finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by