Tutorial on adding ports to stateflow charts