Robust Control Toolbox
  Go to function:
  Search    Help Desk 
branch    Examples   See Also

This function recovers the matrices packed in a mksys or tree variable selectively.

Syntax

Description

Branch returns N sub-branches of a tree variable tr, if nargin = 1, the root branches are returned in sequence by numerical index; otherwise, the branches returned are determined by the paths PATH1, PATH2,, PATHN. Each path is normally a string of the form

where name1, name2, et cetera are the string names of the branches that define the path from the tree root to the sub-branch of interest.

Alternatively, you may substitute for any PATH a row vector containing the integer indices of the branches that define the PATH. For example, if
S = tree('a,b,c','foo',[49 50],'bar'), then branch(S,'c') and branch(S,3) both return the value "bar".

Examples

See reference pages for tree and mksys.

See Also

tree, mksys, graft, istree, issystem, vrsys



[ Previous | Help Desk | Next ]