getRootInportMap
Create custom object to map signals to top-level input ports
Description
creates a map object for the model, block names, and signal names specified using one or
more name-value arguments. To create a comma-separated list of variables to map from this
object, use the inmap
= getRootInportMap(Name=Value
)getInputString
function. For more
information, see Tips.
Examples
Input Arguments
Output Arguments
Tips
Load the model before running this function. If you do not load the model first, the function loads the model to make the mapping and then closes the model afterwards.
If your custom mapping mode is similar to an existing Simulink® mapping mode, consider using the
getSlRootInportMap
function instead.When creating a custom mapping mode to map data to root-level inports, use the
getRootInportMap
function. For more information, see Create and Use Custom Map Modes.
Version History
Introduced in R2012b