find_signal: find blocks with a named input or output signal
by Malcolm Wood
11 Aug 2009
(Updated 14 Aug 2009)
A wrapper for find_system which selects blocks with a named input or output signal.
|
Watch this File
|
| File Information |
| Description |
A limitation of find_system is that you can't search for blocks by specifying just one of their input or output signal names. You can search for blocks with a specific set of input or output names by using the InputSignalNames and OutputSignalNames parameters, but only exact matches are returned.
This function allows you to specify just one input or output signal name, and every block which has an input or output signal with that name is returned, regardless of how many other inputs or outputs it has.
The matching is case sensitive, and this version does not support regular expressions.
The syntax is similar to that of find_system, and includes the same options for extending or limiting the scope of the search. Examples and help are included in the file. |
| Required Products |
Simulink
|
| MATLAB release |
MATLAB 7.8 (R2009a)
|
| Other requirements |
Tested in R2009a, but should work in versions of Simulink since about R14. |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 14 Aug 2009 |
Added a copyright line. |
| 14 Aug 2009 |
Added a copyright line. |
|
Contact us at files@mathworks.com