Error:Invalid workspace variable specified as workspace input in 'HW02_2024_SimulinkModel/From Workspace'. Time values must be non-decreasing.
41 次查看(过去 30 天)
显示 更早的评论
Error:Invalid workspace variable specified as workspace input in 'HW02_2024_SimulinkModel/From Workspace'. Time values must be non-decreasing. I am importing a array having values of vel and time the matriz i am importing is of [6001x2] double type.
0 个评论
回答(1 个)
Himanshu
2024-9-29
Hi Parth,
The 'From Workspace' block requires the input data to be in a certain format, such as in a timeseries format. Additionally, the time values must be of the double data type and should increase monotonically, as they are used during simulation time. For more details on this block, please refer to the following documentation link:
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!