필터 지우기
필터 지우기

How to use a scheduler in System Composer?

조회 수: 9 (최근 30일)
Amine
Amine 2023년 7월 17일
댓글: Josh Kahn 2023년 7월 19일
I would like to use a scheduler in System Composer. I have 4 different taks (T1,T2,T3,T4), , each one with its specific periodicity. I would like to know how to create a scheduler to define the different priorities and periodicities of the different tasks.

답변 (1개)

Josh Kahn
Josh Kahn 2023년 7월 18일
편집: Josh Kahn 2023년 7월 18일
Hi @Amine,
To use the schedule editor, first, ensure that your architecture model was created using the "Software Architecture Model" template:
In the software architecture, you can launch the schedule editor from the Design section of the MODELING tab. Note, You can also specify periodicity in the Functions Editor.
This scheduler is for simulation only. If you are looking to generate code from your scheduler, you can include the software architecture as a model reference in simulink and then hook in a scheduler created in simulink or stateflow. Here is an example:
  댓글 수: 4
Amine
Amine 2023년 7월 19일
Okay I have linked my components to Simulink behaviors and now it is working. Thank you very much!
Josh Kahn
Josh Kahn 2023년 7월 19일
Great! Happy to help.
Josh

댓글을 달려면 로그인하십시오.

카테고리

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

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by