It appears tha SIMULINK is only allowing me 5000 samples of data collection; hence, my simulation time duration is only 50 msec. I would like to expand the simulation time out further to be sure the transients have died out. The system has low damping and 50 msec is not long enough.
simulation time shortened with step size
조회 수: 4 (최근 30일)
이전 댓글 표시
I am reasonably new on SIMULINK and I am trying to configure the solver to have sufficient time resolution to analyze the high frequency response of a system to sharp transitions. I am using the ode14x (extrapolation with fixed time step) solver. I shortened the time step from the default of 1 msec to 10 microsec. The consequence of this is my simulation time got reduced by exactly a factor of 100. 10 microsec/1 msec = 100. Where do I specify that more samples must be created to be able to cover the entire span of the simulation time. I do not see anything in the documentation either.
Something so trivial becomes VERY AGGRAVATING. I hope someone can guide me,
Thanks
답변 (1개)
Prashant Arora
2017년 3월 7일
편집: Prashant Arora
2017년 3월 7일
Hi Jeff,
I am suspecting that your model is logging only last 5000 samples from the simulation data. You can validate if you have checked "Limit data points to last" option in Configuration Parameters. This option is available under "Additional Parameters" of the "Data Import/Export" pane.
If your model uses a "To Workspace" block to log data, there's a similar option available in the Block parameters of the block.
If your model uses a "Scope" block to log data, there's another option in the Scope "Logging" settings, which can be accessed by double clicking on the Scope block and clicking on the Gear icon on top left.
If you are logging Signal data, there's an option available if you right click on any signal and select Properties.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!