Comparing Simulink scope figure

3 次查看(过去 30 天)
jay88 xie
jay88 xie 2012-9-12
Hi all,
I do need to compare some figures from my simulation. How do i about it?
I plan to export the files and execute the below codes:
city_data=load('1.txt'); city=load('2.txt');
t=city_data(:,1); %our x M=city_data(:,2); %our y
t1=city(:,1); %our x M1=city(:,2); %our y
axis([0 10 0 1]) plot(t,M,'LineWidth',2) hold on plot(t1,M1,'--r','LineWidth',2)
are there any better ways?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by