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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!