MATLAB Function Reference | Go to function: | Search Help Desk

add_statemapping |

add a mapping for describing the state of an internal object

Syntax

    m=add_statemapping(m)

    m=add_statemapping(m,{mapping})

Description

`m=add_statemapping(m)` clears the statemapping field of the object

`m=add_statemapping(m,{mapping})` adds the mapping `mapping` to the current mapping state description.

Remarks

This method adds a mapping to the list of the current mappings attached to the state of the internal object. The links field, which connects the mapping with the state output, must be set using the `set` method.

[ Help Desk ]