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.

 Akzeptierte Antwort

Josh Kahn
Josh Kahn am 15 Sep. 2022

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Mehr zu System Composer finden Sie in Hilfe-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