Error occurred when exporting Architecture model in system composer

Hello I am jincheol Lim.
I tried exporting Architecture model in system composer follwoing below example.
But there was errror like below
"systemcomposer.internal.exportModelClass/runValidationChecks
Unable to export model '{0}' because it is not a System Composer model."
Could you help me out?
Even when i used same file in example model(UAVModel) there wa same error.
Thanks you.

 採用された回答

Josh Kahn
Josh Kahn 2022 年 9 月 15 日

0 投票

Hi jincheol Lim,
It looks like you are passing a cell array to the systemcomposer.exportModel API. Please make sure that you are passing the model name as either a (1,:) char array or a (1,1) string.
Regards,
Josh

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSystem Composer についてさらに検索

質問済み:

2022 年 9 月 12 日

回答済み:

2022 年 9 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by