필터 지우기
필터 지우기

Use stateflow to control variant subsystem

조회 수: 1 (최근 30일)
Chai Wei Kuo
Chai Wei Kuo 2021년 9월 24일
답변: Shanmukha Voggu 2021년 10월 1일
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

답변 (1개)

Shanmukha Voggu
Shanmukha Voggu 2021년 10월 1일
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.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by