From workspace block error: Time values must be a real vector.
17 views (last 30 days)
Show older comments
I have no idea what this error means and I've made sure the time series are in an ascending order. How can I fix this problem?
0 Comments
Answers (1)
Fangjun Jiang
on 30 Apr 2021
If you are using timeseries, make sure its time data is valid. For example
Var=timeseries;
Var.Time=[0;1];
Var.Data=[1;100]
and specify "Var" to the FromWorkspace block.
What is your Var.Time?
See Also
Categories
Find more on Sources 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!