My Stateflow notes from these webinars

(Last Updated On: August 12, 2015)
Learn the Secret

Get  our 2 Free Books

Get these now which land directly to their inbox.
Invalid email address

My Stateflow notes from these webinars

I learned many things and capabilities from this
Stateflow notes from

*** can use matlab guide to generate interface to feed data into simulink model

State vs super state
Add pattern for simple if/else/then or switch (transitions)

[ …] are conditions while { … } are action at 26:32

Can add embedded matlab functions
Use variable/symbol wizard to interface with simulink model

To use the Stateflow Symbol Wizard or Resolve Undefined Symbols in Your Chart
32:33 explains importance of parallel states

35:21 add->data local enables to add local variable in stateflow chart
37:21 during action-this is only active when state is active

41:30 enumerated variable
42:04 use simulink model explorer to change data type, not fan_mode_type is a class define m function.

43:49 truth table which is used to feed enumerated data type

50:05 added temporal logic after a certain time, do a delayed action

Webinar title “getting started with stateflow part 3”

4:50 self transition exit state but renter same state. Value t automatically refers to simulation step time.
7:14 history junction for if state has already been entered, check historical state data since it store previous historical state data
8:21 embedded matlab function

***For a state, make it subcharted by right clocking and can also choose format to keep all states same size

13:56 events which start with E, use send function to broadcast event in stateflow chart or simulink model, you can add event in stateflow
19:28 use goto block to warn operator of event to something like generic led block

20:24 stop event with simulink function to stop model block

Can use data conversion block from Boolean to double for instance at 22:03
222:47 no unconditional path in stateflow means there is no default transition


State actions:

Join my FREE newsletter to learn how to apply Stateflow to your algo trading 
NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!
This entry was posted in Matlab and tagged , , on by .

About caustic

Hi i there My name is Bryan Downing. I am part of a company called QuantLabs.Net This is specifically a company with a high profile blog about technology, trading, financial, investment, quant, etc. It posts things on how to do job interviews with large companies like Morgan Stanley, Bloomberg, Citibank, and IBM. It also posts different unique tips and tricks on Java, C++, or C programming. It posts about different techniques in learning about Matlab and building models or strategies. There is a lot here if you are into venturing into the financial world like quant or technical analysis. It also discusses the future generation of trading and programming Specialties: C++, Java, C#, Matlab, quant, models, strategies, technical analysis, linux, windows P.S. I have been known to be the worst typist. Do not be offended by it as I like to bang stuff out and put priorty of what I do over typing. Maybe one day I can get a full time copy editor to help out. Do note I prefer videos as they are much easier to produce so check out my many video at