| LTPDA Toolbox™ | contents | ![]() |
SETBLOCKPROPERTIES Sets the specified properties of the specified SSM blocks. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: SETBLOCKPROPERTIES Sets properties of the specified SSM blocks. CALL: obj = obj.setBlockProtperties(... 'FIELD', 'inputs', 'BLOCKS', 'ALL', ... % or a cellstr to indicate the blocks 'NEW_NAMES', {'names'...}, 'NEW_DESCRIPTIONS'); blockname may be a double, a string or a cell-array of strings of size 1 newBlockDescription may be a string or a cell-array of strings Parameters Description %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
| Method Details | |
|---|---|
| Access | public |
| Defining Class | ssm |
| Sealed | 0 |
| Static | 0 |
| Sets for this method … |
|---|
| Default |
Default |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| setBlockProperties | |||
| FIELD | 'inputs' |
|
The field being changed |
| BLOCKS | {} [0x0] | none | Identifiers (cellstr of block names or "ALL") of the blocks you want to modify |
| NEW_DESCRIPTIONS | {} [0x0] | none | The new description(s) you want to set to the block(s). Use a cell-array, one entry for each block. |
| NEW_NAMES | {} [0x0] | none | The new names(s) you want to set to the block(s). Use a cell-array, one entry for each block. |
Example |
|---|
| plist('FIELD', 'inputs', 'BLOCKS', cell(0,0), 'NEW_DESCRIPTIONS', cell(0,0), 'NEW_NAMES', cell(0,0)) |
back to top
| Some information of the method ssm/setBlockProperties are listed below: | |
|---|---|
| Class name | ssm |
| Method name | setBlockProperties |
| 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'} |
|
Method: ssm/search | Method: ssm/setDescription | ![]() |
©LTP Team