Problem by importing data into simulink as "Array From Workspace"
Show older comments
invalid workspace variable specified as workspace input in 'power_controlcurr/Array From Workspace'. Time values must be non-decreasing.


3 Comments
Nikhil
on 13 Jul 2023
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.
on 13 Jul 2023
Harald
on 13 Jul 2023
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
Accepted Answer
More Answers (0)
Categories
Find more on Model Import 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!