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 CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by