When I plot a figure in real time. time range is set as 100 seconds. The plot get stopped after 50 seconds.
In simulink real time following parameters are set: Solver options Fixed step size:0.0005 Solver:ode4 Runge Kutta In scope: sampling time is :0.0005
Any help please

 채택된 답변

Anuj
Anuj 2014년 2월 11일

0 개 추천

Have You unchecked limit data points to last?

댓글 수: 8

abhijit kulkarni
abhijit kulkarni 2014년 2월 11일
Yes I unchecked that. Still the problem is same.
Anuj
Anuj 2014년 2월 11일
Do you get any error/warning? Does simulation stop after 50s or only the plot you get is for 50s?
abhijit kulkarni
abhijit kulkarni 2014년 2월 11일
No error message and simulation works for complete 100 seconds well.
Anuj
Anuj 2014년 2월 11일
편집: Anuj 2014년 2월 11일
It seems You have specified 100 s time range in scope and your simulation time is different. If so, change the scope block time range to auto and run simulation for the time period for which you need plot. It should work, Otherwise you can consider uploading your model.
Regards
abhijit kulkarni
abhijit kulkarni 2014년 2월 11일
Did Auto. Doesnt make any improvement.
I observed in : Simulation\Configuration parameters\Data Import Export\Limit Data Point To Last is set to 1000 with Decimation of 1. Format is array.
Does that make any problem?
Anuj
Anuj 2014년 2월 11일
If you are plotting the signal using command window, there might be some problem, are you plotting it through command or through scope block? and what is the simulation time you are using?
abhijit kulkarni
abhijit kulkarni 2014년 2월 11일
Thr scope. Simulation time is 100 seconds.
abhijit kulkarni
abhijit kulkarni 2014년 2월 11일
Unfortunately thats not possible.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 General Applications에 대해 자세히 알아보기

질문:

2014년 2월 11일

댓글:

2014년 2월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by