Use stateflow to control variant subsystem

I want to use stateflow to switch variant subsystem
take a simple example: see attachments , I hope it will operate 'add' subsystem in first 5 sec. then it will operate 'product' subsystem.
How can I do it?
Is it workable?
thank u

Antworten (1)

Shanmukha Voggu
Shanmukha Voggu am 1 Okt. 2021

0 Stimmen

Hi,
The variant subsystems don't work that way, You can achieve this by generating events from the states of the STATEFLOW chart. And using Function-call Subsystems instead of variant subsystem.
Refer this for more information.

Kategorien

Gefragt:

am 24 Sep. 2021

Beantwortet:

am 1 Okt. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by