필터 지우기
필터 지우기

[Maximum Timing for Simulation]

조회 수: 6 (최근 30일)
Binh Huynh Thanh
Binh Huynh Thanh 2019년 2월 1일
답변: Binh Huynh Thanh 2019년 2월 3일
Hi, I have a simulink model and I would to know that what is the maximum the timing value can be assigned for simulation ?
Maximum = ???
>> sim('modelName','StartTime','0','StopTime',Maximum,'FixedStep','0.01');
Thank you.

채택된 답변

Mundrathi Venugopal
Mundrathi Venugopal 2019년 2월 1일
I'm not sure about the maximum time that you can specify for a model.
However If you want to run the model continuously until you stop, you can assign the stop time as below.
set_param(bdroot,'StartTime','0','StopTime','Inf','FixedStep','0.01');
sim(bdroot);

추가 답변 (1개)

Binh Huynh Thanh
Binh Huynh Thanh 2019년 2월 3일
Thank Mundrathi Venugopal very much.
As above answer, I think that the timing for simulation is unlimited.

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by