Help with multiple plot Simulink

조회 수: 2 (최근 30일)
Justas
Justas 2015년 5월 4일
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???

답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by