Stateflow.EMFunction
MATLAB function in chart, state, box, or function
Description
Use Stateflow.EMFunction
objects to create MATLAB® functions for coding algorithms that are more easily expressed by using
MATLAB code instead of the graphical Stateflow® constructs. Typical applications include:
Matrix-oriented calculations
Data analysis and visualization
You can call a MATLAB function in the actions of states and transitions. For more information, see Reuse MATLAB Code by Defining MATLAB Functions.
Creation
Description
Input Arguments
Properties
Object Functions
find | Identify specified objects in hierarchy |
getChildren | Identify children of object |
getParent | Identify parent of object |
getReferences | Identify references to symbol name |
renameReferences | Rename symbol and update references to symbol name |
commentedBy | Identify objects that implicitly comment out a graphical object |
dialog | Open properties dialog box |
view | Display object in editing environment |
highlight | Highlight graphical object |
fitToView | Zoom in on graphical object |