Stateflow | ![]() ![]() |
Opening Stateflow Finder
On platforms that do not support the Simulink Find tool (see preceding note), display the Stateflow Finder dialog box with one of the following:
The Finder operates on the machine whose name appears in the window title area of the Finder dialog as shown:
The following topics in this section describe the parts of the Stateflow Finder:
String Criteria
You specify the string by entering the text to search for in the Look for text box. The search is case sensitive. All text fields are included in the search by default. Alternatively, you can search in specific text fields by using the Look in list box to choose one of these options:
Any. Search the state and transition labels, object names, and descriptions of the specified object types for the string specified in the Look for field.
Label. Search the state and transition labels of the specified object types for the string specified in the Look for field.
Name. Search the Name fields of the specified object types for the string specified in the Look for field.
Description. Search the Description fields of the specified object types for the string specified in the Look for field.
Document Link. Search the Document link fields of the specified object types for the string specified in the Look for field.
Custom Code. Search custom code for the string specified in the Look for field.
Search Method
By default the Search Method is Normal/Wildcard (regular expression). Alternatively, you can click the Exact Word match option if you are searching for a particular sequence of one or more words.
A regular expression is a string composed of letters, numbers, and special symbols that define one or more strings. Some characters have special meaning when used in a regular expression, while other characters are interpreted as themselves. Any other character appearing in a regular expression is ordinary, unless a \ precedes it.
These are the special characters supported by Stateflow Finder.
Character |
Description |
^ |
Start of string |
$ |
End of string |
. |
Any character |
\ |
Quote the next character |
* |
Match zero or more |
+ |
Match one or more |
[ ] |
Set of characters |
Object Type
Specify the object types to search by toggling the check boxes. A check mark indicates that the object is included in the search criteria. By default, all object types are included in the search criteria. Object Types include the following:
Find Button
Click the Find button to initiate the search operation. The data dictionary is queried and the results are listed in the display area.
Matches
The Matches field displays the number of objects that match the specified search criteria.
Refine Button
After the results of a search are displayed, enter additional search criteria and click Refine to narrow the previously entered search criteria. An ampersand (&) is prefixed to the search criteria in the Search History field to indicate a logical AND with any previously specified search criteria.
Search History
The Search History text box displays the current search criteria. Click the pull-down list to display search refinements. An ampersand is prefixed to the search criteria to indicate a logical AND with any previously specified search criteria. You can undo a previously specified search refinement by selecting a previous entry in the search history. By changing the Search History selection you force the Finder to use the specified criteria as the current, most refined, search output.
Clear Button
Click Clear to clear any previously specified search criteria. Results are removed and the search criteria are reset to the default settings.
Close Button
Click Close to close the Finder.
Help Button
Click Help to display the Stateflow online help in an HTML browser window.
![]() | The Stateflow Finder Tool | Finder Display Area | ![]() |