path = getfullname(handle)
| Parameter | Description |
|---|---|
| handle | a numeric handle (block or model), a char block path, or a cell array of handles. |
| Parameter | Description |
|---|---|
| path | the full path: 'model/BlockName' for a block handle, 'model' for a model handle. A cell array of handles yields a cell array of paths. |
getfullname returns the full path that identifies the block or model named by a handle. A block handle yields 'model/BlockName'; a model handle yields 'model'.
It is the inverse of getNFlowBlockHandle. A char path is already a full name and is returned unchanged. A cell array of handles yields a cell array of paths of the same shape.
An unknown handle raises an error.
new_system('demo');
add_block('nflow/math/gain', 'demo/Gain');
h = getNFlowBlockHandle('demo/Gain');
path = getfullname(h)
bdclose('demo');
| Version | Description |
|---|---|
| 1.0.0 | initial version |