Clear Filters
Clear Filters

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 view (last 30 days)
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

Answers (0)

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!