Method ssm/setPortDescriptions


  SETPORTDESCRIPTIONS Sets descriptions of the specified SSM ports.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: SETPORTDESCRIPTIONS Sets descriptions of the specified SSM ports.
 
  CALL:        obj = obj.setPortDescriptions('block_type', blockIndex, portIndices, {'block_description1', ...});
               obj = obj.setPortDescriptions('block_type', blockIndex, {'old1', ...}, {'block_description1', ...});
               obj = obj.setPortDescriptions('block_type', blockname, portName, newPortDescription);
 
   blockname may be a double, a string or a cellstr of size 1
   portName may be a double, a string or a cellstr
   newPortDescription may be a string or a cellstr
 
  Parameters Description
 
  VERSION: $Id: setPortDescriptions.m,v 1.14 2012/01/27 12:59:57 ingo Exp $
  
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ssm
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
FIELD 'inputs'
  • 'inputs'
  • 'outputs'
  • 'states'
The field containing the port to be changed.
BLOCK '' none Identifiers (strings or indices) of the block containing the port you want to modify.
PORTS '' none Identifiers (strings or indices) of the ports you want to modify.
DESCRIPTIONS '' none The new description(s) you want to set to the port(s). Use a cell-array, one entry for each port.
back to top back to top

Some information of the method ssm/setPortDescriptions are listed below:
Class name ssm
Method name setPortDescriptions
Category Helper
CVS Version $Id: setPortDescriptions.m,v 1.14 2012/01/27 12:59:57 ingo Exp $
Min input args 1
Max input args -1
Min output args 1
Max output args -1




©LTP Team