Help with multiple plot Simulink

3 views (last 30 days)
Justas
Justas on 4 May 2015
Then I'm want to plot Scope graph with one inpute I set Scope format to Array and in Command line write: plot(name(:,1),name(:,2)). Everything ok. I get graph, but if I want to plot Scope graph with 2 inputs it doesnt work. Then I simulate model with Scope format Array i get messege: 'Valdymas/Scope' has more than one input port and can only log multiport data if you set the 'Format' parameter to 'Structure' or 'Structure with time' and not 'Array'. This parameter is in the 'Data history' tab of the 'Scope Parameters' dialog. This dialog can be chosen from the 'Scope' menu.
If I set Scope format to Structure or Structure with time and in Command line write: plot(name(:,1),name(:,2)) I get messege: Index exceeds matrix dimensions.
How to plot Scope graph with multiple inputs???

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!