Plot function displays only until 10 seconds irrespective of simulink simulation runtime

I've built a simulink model and imported the data to matlab. As I'm using this data with the plot function, the data is only being plotted until 10 seconds irrespective of the runtime of the simultion in simulink. Please guide on how to obtain plotted data for required runtime in the plot function.

1 个评论

hello
there are two factors that impact the size of exported data from simulink
1/ the simulation runtime
2/ check in the simulink blocks used for data export that there is no option like "max samples" (with a given value) ticked. Untick this limitation so now the only factor that size your data is the simulation runtime

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Interactive Model Editing 的更多信息

产品

版本

R2021b

标签

Community Treasure Hunt

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

Start Hunting!

Translated by