Azzera filtri
Azzera filtri

How to use a scheduler in System Composer?

9 visualizzazioni (ultimi 30 giorni)
Amine
Amine il 17 Lug 2023
Commentato: Josh Kahn il 19 Lug 2023
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.

Risposte (1)

Josh Kahn
Josh Kahn il 18 Lug 2023
Modificato: Josh Kahn il 18 Lug 2023
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 Commenti
Amine
Amine il 19 Lug 2023
Okay I have linked my components to Simulink behaviors and now it is working. Thank you very much!
Josh Kahn
Josh Kahn il 19 Lug 2023
Great! Happy to help.
Josh

Accedi per commentare.

Categorie

Scopri di più su System Composer in Help Center e File Exchange

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by