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

3 ビュー (過去 30 日間)
Manjunath Pattanad
Manjunath Pattanad 2023 年 10 月 18 日
回答済み: Lokesh 2024 年 7 月 23 日

回答 (1 件)

Lokesh
Lokesh 2024 年 7 月 23 日
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');

カテゴリ

Help Center および File ExchangeCheck Model Compliance についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by