Code covered by the BSD License  

Highlights from
find_signal: find blocks with a named input or output signal

Be the first to rate this file! 1 Download (last 30 days) File Size: 2.09 KB File ID: #24997
image thumbnail

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.
Please login to add a comment or rating.
Updates
14 Aug 2009

Added a copyright line.

14 Aug 2009

Added a copyright line.

Tag Activity for this File
Tag Applied By Date/Time
simulink Malcolm Wood 14 Aug 2009 10:08:00
find_system Malcolm Wood 14 Aug 2009 10:08:01
find_system checker i 21 Sep 2009 10:06:08
find_system David 23 Jul 2010 04:20:03
find_system Bilal 16 Dec 2011 03:13:20

Contact us at files@mathworks.com