Info

This question is closed. Reopen it to edit or answer.

Execute functions only when there is a specific State transition in Stateflow

1 view (last 30 days)
Hi.I need a help with the following .
I have 3 exclusive states A, B, C. I have 2 functions P, Q within state B.
The function P must b executed only when there is a transition from A to B
The function Q must be executed only when there is a transition from C to B
Is there a specific syntax or in built command in matlab that can be used to execute this??

Answers (1)

Fangjun Jiang
Fangjun Jiang on 20 May 2019

Tags

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!