How to reduce Data points as output from Simulink to workspace?

3 次查看(过去 30 天)
Hello Everyone,
I have a model made in simulink and I use its output to plot graph in Matlab scipt file.
If we see the data poitns generated in that variable in workspace it has created 2,900,000 data points for 5 sec Simulation.
I was to reduce to 5000 data points for 5 sec by maintaing the same accuracy of plots or how much minimum amount of data points I need to have so that I can have near to same accuracy in plots.
I want this to done in the simulink itself rather than in script file. I have attached the files can have look on it.
Thankyou

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by