getNumLeafBusElements
Number of leaf elements in Simulink.Bus object
Description
getNumLeafBusElements( returns the number
of leaf elements in the specified busObj)Simulink.Bus object.
A leaf element of a bus object is any element of the bus object that is not defined by another bus object. For example, a signal or message can be a leaf element of a bus object.
Examples
Input Arguments
Tips
Use the getNumLeafBusElements function to determine the number of MATLAB®
timeseries objects needed to create a structure of
timeseries objects from a bus.
Version History
Introduced in R2010b