Simulink error - Unrecognized funtion t
74 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!