Method ssm/getPortNamesForBlocks


  GETPORTNAMESFORBLOCKS returns a list of port names for the given block.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: This method returns a list of port names for the given blocks.
 
  CALL:        portNames = getPortNamesForBlocks(blockNames) 
               portNames = getPortNamesForBlocks(plist)
  
  INPUTS:
                blockNames - the name (or cell-array of names) of the
                             block(s) you wants the ports for. The block
                             names are checked against either the system
                             inputs, states or outputs, depending on the
                             'type' key in the plist.
                             A special value of 'All' is supported which
                             returns the ports for all blocks.
  
  OUTPUTS:
              portNames - a cell-array of port names.
  
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ssm
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
BLOCKS '' none A block name or cell-array of block names
TYPE 'all'
  • 'inputs'
  • 'states'
  • 'outputs'
  • 'all'
The type of block to search
back to top back to top

Some information of the method ssm/getPortNamesForBlocks are listed below:
Class name ssm
Method name getPortNamesForBlocks
Category Output
Package name ltpda
VCS Version 3542afe99dea25c636b7ac3b82a9f6f8be9d447d
Min input args 1
Max input args -1
Min output args 1
Max output args -1




©LTP Team