Consider an existing Simulink model with several subsystems connected with each other through ports and connectors. I want to know how to add Stateflow Chart within the subsystems using the API.
With the commands 'sfnew' and 'stateflow' I can only generate a new Simulink model with Stateflow Chart instead of adding a chart into an already existing model.
Best Answer