getMappingForSymbol
Get mapping for symbol in atomic subchart, atomic box, or Simulink based state
Since R2022b
Syntax
Description
returns the main chart symbol to which the subsystem symbol
chartSymbol = getMappingForSymbol(subsystem,subsystemSymbol)subsystemSymbol maps, where subsystem is an
atomic subchart, atomic box, or Simulink® based state. For more information, see Map Variables for Atomic Subcharts and Boxes and
Map Variables for Simulink Based States.
[
returns the main chart symbol and the nontrivial expression to which the subsystem symbol
maps.chartSymbol,expression] = getMappingForSymbol(subsystem,subsystemSymbol)