Problem by importing data into simulink as "Array From Workspace"
显示 更早的评论
invalid workspace variable specified as workspace input in 'power_controlcurr/Array From Workspace'. Time values must be non-decreasing.


3 个评论
Nikhil
2023-7-13
The error says that the time array t must be consist values in a non-decreasing fashion, Check your time array and see if that fixes the issue.
Anna B.
2023-7-13
Harald
2023-7-13
Hi Anna,
it is difficult to tell why Simulink would error because of a variable having to be non-decreasing when you say it is.
If possible, please upload the model and the required data. Both can be trimmed down to what is needed to reproduce the problem.
Best wishes,
Harald
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Model Import 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!