필터 지우기
필터 지우기

Change time step during simulation in simulink

조회 수: 10 (최근 30일)
Vinicius Vannucchi Pierre
Vinicius Vannucchi Pierre 2022년 12월 13일
답변: Dongyue 2022년 12월 16일
Hey, I am performing a simulation of a thermal behavier in a battery during the year. When it is discharge, I need to use 0.1 sec resolution, because is the current duty cycle, but when it is resting, I don't need this resolution, would be nice to have 3600 sec, because is how the ambient temperature varies. Is it possible to change time step during simulation using I signal from the model?

답변 (1개)

Dongyue
Dongyue 2022년 12월 16일
The sample time cannot be changed during a simulation. Please see this link for more info: https://www.mathworks.com/help/simulink/ug/how-to-specify-the-sample-time.html#br0zrv5

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by