Getting started with Stateflow

Hello,
I have just started using Stateflow and was wondering if someone can point me in the direction of some useful reading material/examples or can provide some introductory pointers. I have a Matlab function which does some mathematical processes from a defined set of inputs. It should then incrementally increase one input until it reaches a desired output. I was hoping to use Stateflow so I can see what state it is in (i.e. still increasing input or has reached desired output), however I haven't used this before so I am trying to work out a) how to incorporate this Matlab function and b) how to effectively create an 'if' loop. Any advice would be much appreciated.

类别

在 帮助中心 和 File Exchange 中查找有关 Decision Logic 的更多信息

产品

提问:

2018-3-9

重新打开:

2018-12-22

Community Treasure Hunt

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

Start Hunting!

Translated by