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

2 vues (au cours des 30 derniers jours)

Réponses (1)

Lokesh
Lokesh le 23 Juil 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');

Catégories

En savoir plus sur Check Model Compliance dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by