'To workspace' loss of data
5 views (last 30 days)
Show older comments
I have 765 inputs to the simulink and i have set simulation time to 765 but when I use 'To workspace' blocking I am getting array of only 51 output data in workspace. Help me out.
1 Comment
Kai Huong
on 5 May 2023
You have to change your "Sample Time" to fit your data interval, do not keep the default (-1). You can read the examples in this link http://www.ece.northwestern.edu/local-apps/matlabhelp/toolbox/simulink/slref/toworkspace.html to be clear.
Answers (1)
Steven Lord
on 9 Jun 2020
Is the "Limit data points to last" parameter described on this documentation page set to a smaller value than its default of Inf?
0 Comments
See Also
Categories
Find more on Programmatic Model Editing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!