Method rational/search
SEARCH select objects that match the given name.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DESCRIPTION: SEARCH select objects that match the given name using a
regular expression (help regexp).
CALL: out = search(in, 'foo') % get all objects from <in> called 'foo'
out = search(in, 'foo*') % get all objects from <in> with a name like 'foo'
out = search(in, pl)
This function returns the handles of the objects that match the regular
expression. No object copying is done.
Parameters Description
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
| Method Details |
|
| Access |
public |
| Defining Class |
ltpda_uo |
| Sealed |
0 |
| Static |
0 |
Parameter Description
| Sets for this method … |
| Default |
Default |
| no description |
| Key |
Default Value |
Options |
Description |
| search |
| REGEXP |
'' |
none |
A string specifying the regular expression |
| EXACT |
0 |
|
A boolean specifying to look for an exact match or not |
Example |
| plist('REGEXP', '', 'EXACT', [false]) |
back to top
| Some information of the method ltpda_uo/search are listed below: |
| Class name |
ltpda_uo |
| Method name |
search |
| Category |
Helper |
| Package name |
ltpda |
| Can be used as modifier |
0 |
| Supported numeric types |
{'double'} |
|
Method: rational/requirements |
|
Method: rational/setDescription |
 |
©LTP Team