Simulink error - Unrecognized funtion t

조회 수: 49 (최근 30일)
Sundaramahalingam Subramaniam
Sundaramahalingam Subramaniam 2020년 5월 6일
답변: Navya Seelam 2020년 5월 13일
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

답변 (1개)

Navya Seelam
Navya Seelam 2020년 5월 13일
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.

카테고리

Help CenterFile Exchange에서 Save Run-Time Data from Simulation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by