SysML to Stateflow Change, Compare, and Sync.
This section demonstrates sync of changes in a SysML State Machine to connected Stateflow State Chart.
- Begin with connected/in sync models (from previous tutorials) & modify SysML State Machine as shown below
- Compare SysML & Target again, then sync SysML -> Target
- Reopen Simulink/Stateflow model, note the changes that were made, & rearrange if desired
- Compare to see models back in sync
- Arrange and then modify connected Stateflow Chart in Simulink model
- Save Simulink model and compare again.
- Sync Target -> SysML is not supported for State machines in Rhapsody. To remove changes made in Stateflow and/or implement changes made to the state machine in SysML, Sync SysML -> Target.
- View the changes made to revert Stateflow State Chart to its former state.
- Compare to see models back in sync