Hello friends,
Can anyone give me solution to solve this error? This error is arised when input port is connected to derivative du/dt. Data to port is given from externl spreadsheet.
""
Error evaluating expression '[t, u]' for 'ExternalInput' specified in the Configuration Parameters dialog for block diagram 'file name'.
Caused by:
  • Unrecognized function or variable 't'.
Component:Simulink | Category:Model error
Error evaluating external inputs specified in the Configuration Parameters dialog on the Data Import/Export Page. External inputs may be specified as either (a) a list of matrices, structures or timeseries or (b) a single MATLAB expression or function

Antworten (1)

Navya Seelam
Navya Seelam am 13 Mai 2020

4 Stimmen

In case you have external inputs coming in through inport block, make sure you enter valid parameters in Configuration Parameters > Data Import/Export > Input parameter and the corresponding parameters are available in MATLAB worksapce. In case you don't have any inport block, you can deselect Configuration Parameters > Data Import/Export > Input parameter.
Refer to the link below for more details.

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by