By incorporating custom code written in C or C++, augment the capabilities of your Stateflow® chart and take advantage of your preexisting code.
Specify function calls in states and transitions.
Integrate preexisting custom code into Simulink® models.
Pass string data between Stateflow charts and custom C code.
Define custom Stateflow structures in C code.
Call custom code functions from your Stateflow charts.
Define relative folder paths for custom code integration.