Reuse state components in multiple charts by using atomic subcharts. Generate reusable code from atomic subcharts. Reduce recompilation time for your model by recompiling only the atomic subcharts that you modify.
Build independent subcomponents in your Stateflow® chart.
Guidelines for creating atomic subcharts.
Link variables in your atomic subchart to data in the main chart.