How can I resolve this error ?

67 views (last 30 days)
Abhijeet Anand
Abhijeet Anand on 18 Aug 2022
Commented: madhan ravi on 21 Nov 2023
While simulating model in Simulink I got error as "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"

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 19 Aug 2022
You specified input data, but there is no root level input ports, which means no input data is needed.
If you've done this manually or inadvertently, press Ctrl+E, select "Data Import/Export" on the left, un-check "Input" on the right.
  5 Comments
Param
Param on 4 Feb 2023
Thanks for the response @Fangjun Jiang.
I was actually using the "From Workspace" block since the beginning and had infact put the same input configurations [tout, u]. I had also specified the same in the "Data Import/Export page" of the model configurations, still I was getting the error.
However, I tried using the inport block, and it worked just fine.
Thanks a lot for your help.

Sign in to comment.

More Answers (0)

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!