sim command problem, the model not run for desired time

2 views (last 30 days)
hi all,
i have problem using sim command,
[Tout,X,Y1,Y2]=sim('mymodel',[realT,[],[realT[u;u]])
Ts=4sec N=2000sec realT=Ts*(1:N)'
the problem here Tout and Y1 Y2 just run for 55 sec and it should be 8000sec if i am right? so something prevent my model to run till the real time,
by the way i change the ode but no clue
any help please thanks

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!