I am running a simulink model via matlab script using sim command, the issue is i want to give 3 inputs and take out 3 outputs from the model, and use those outputs in later lines in matlab script, but unable to take outputs using To workspace tool

1 回表示 (過去 30 日間)
I am running a simulink model via matlab script using sim command, the issue is i want to give 3 inputs and take out 3 outputs from the model, and use those outputs in later lines in matlab script, but unable to take outputs using To workspace tool, shows error as follows-
Error using main1 (line 4)
External input specified in the Configuration Parameters dialog box on the
Data Import/Export page (or as an option to SIM command) to a model
containing no root level input ports

回答 (0 件)

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by