matlabhybridsystemsimulationcode