Method ssm/setPortProperties


  SETPORTPROPERTIES Sets names of the specified SSM ports.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: SETPORTPROPERTIES Sets names of the specified SSM ports.
 
  CALL:        obj = obj.setPortProperties(plist);
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ssm
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
setPortProperties
FIELD 'inputs'
  • 'inputs'
  • 'outputs'
  • 'states'
The field containing the port being changed.
PORTS {} [0x0] none Identifiers (cellstr of "blockNames"/"blockNames.portNames" or "ALL") of the ports you want to modify.
NEW_NAMES {} [0x0] none The new names(s) you want to set to the port(s). Use a cell-array, one entry for each port.
NEW_DESCRIPTIONS {} [0x0] none The new descriptions(s) you want to set to the port(s). Use a cell-array, one entry for each port.
NEW_UNITS none The new names(s) you want to set to the port(s). Use a unit vector, one entry for each port.

Example

plist('FIELD', 'inputs', 'PORTS', cell(0,0), 'NEW_NAMES', cell(0,0), 'NEW_DESCRIPTIONS', cell(0,0), 'NEW_UNITS', [ ])

back to top back to top

Some information of the method ssm/setPortProperties are listed below:
Class name ssm
Method name setPortProperties
Category Helper
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