matlabsimulinkstateflow

Plotting multiple X,Y signals into single XYGraph matlab stateflow


i have two signals coming from my model as output each of which contain x,y values. i want to plot both of them on single xy graph window. i am able to draw it on two xy graph window but how to merge them and draw on same xy window?


Solution

  • I don't think it's possible to do what you want. The best alternative would be to log the data to the workspace and plot it as you want after the simulation has finished, using standard MATLAB commands.