Error:Invalid workspace variable specified as workspace input in 'HW02_2024_SimulinkModel/From Workspace'. Time values must be non-decreasing.
38 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Himanshu
on 29 Sep 2024
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:
See Also
Categories
Find more on Programmatic Model Editing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!