How can I resolve this error ?

95 次查看(过去 30 天)
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"

采纳的回答

Fangjun Jiang
Fangjun Jiang 2022-8-19
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 个评论
Param
Param 2023-2-4
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by