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.

 Accepted Answer

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

More Answers (0)

Categories

Find more on System Composer in Help Center and File Exchange

Asked:

on 12 Sep 2022

Answered:

on 15 Sep 2022

Community Treasure Hunt

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

Start Hunting!