Modify dynamically a sample time in Simulink
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
I work on simulink and I would like to know if it is possible to change during a simulation a sampletime of a block ?
I am using a function call subsystem, which is called by a function call generator. The generator is defined by a SampleTime. How could I change during the simulation the SampleTime of the generator ?
Thank you for your time !
댓글 수: 0
답변 (1개)
Guy Rouleau
2013년 3월 26일
Sample time cannot change during simulation.
What you can do is set the sample time as the smallest possible rate you want to take and generate fcn-call at the desired rate.
댓글 수: 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!