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
getPortNamesForBlocks
BLOCKS '' none A block name or cell-array of block names
TYPE 'all'
  • 'inputs'
  • 'states'
  • 'outputs'
  • 'all'
The type of block to search

Example

plist('BLOCKS', '', 'TYPE', 'all')

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 967b0eec0dece803a81af8ef54ad2f8c784b20b2
Min input args 1
Max input args -1
Min output args 1
Max output args -1
Can be used as modifier 1
Supported numeric types {'double'}




©LTP Team