필터 지우기
필터 지우기

Simulink - Rate Transition

조회 수: 2 (최근 30일)
JOKY JOKE
JOKY JOKE 2011년 12월 7일
Hi,
I want to use Rate Transitions in my Simulink System. I am using a Fixed-Step + Discrete Solver with a discrete step-size. If I want to implement different tasks, for example, Task 1 with a sample time of 10 ms and Task 2 with a sample time of 1 ms. Does the fixed-step size in the Configuration Parameters has to be the smallest sample time, i.e. 1 ms or is it also possible to run the whole system with 10 ms and just a few calculations with the fast sample time of 1 ms?
Thank you

채택된 답변

Kaustubha Govind
Kaustubha Govind 2011년 12월 7일
I think you should set your solver step size to 1ms. Simulink will determine that the blocks in Task1 have to be run only every 10ms and invoke them accordingly.

추가 답변 (1개)

Suneesh
Suneesh 2011년 12월 7일
The step size in configuration parameters has to be the smallest (fundamental) step size. Other blocks can have sample times that are integer multiples of the fundamental. 'Rate Transition' block is used to connect parts of the model running at different rates

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by