Common Utilities for Creating Checks
When you create a custom check, there are common Simulink® utilities that you can use to make the check perform different actions. Following is a list of utilities and when to use them. In the Utility column, click the link for more information about the utility.
Utility | Used For... |
---|---|
find_system | Getting handle or path to:
When getting the object, you can:
|
get_param / set_param | Getting and setting system and block parameter values. |
Property Inspector | Getting object properties. First you must get a handle to the object. |
evalin | Working in the base workspace. |
Simulink.ID.getSID | Identifying Simulink blocks, model annotations or Stateflow® objects. |
Stateflow API (Stateflow) | Programmatic access to Stateflow objects. |