Use stateflow to control variant subsystem

1 visualización (últimos 30 días)
Chai Wei Kuo
Chai Wei Kuo el 24 de Sept. de 2021
Respondida: Shanmukha Voggu el 1 de Oct. de 2021
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

Respuestas (1)

Shanmukha Voggu
Shanmukha Voggu el 1 de Oct. de 2021
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.

Categorías

Más información sobre Subsystems en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by