Simulink error - Unrecognized funtion t

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

Answers (1)

Navya Seelam
Navya Seelam on 13 May 2020
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.

Community Treasure Hunt

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

Start Hunting!