real time plot

i want to plot a matrix in real time (the values in the matrix increases one by one)
out=fread(s);
plot(out);
i tried the following code but im able to plot only after the out matrix is completed, can any one help me

回答(1 个)

bikal shrestha
bikal shrestha 2012-6-22

0 个投票

looping the whole system and using pause on; pause (1) may delay time by 1sec while reading data... may help...

类别

帮助中心File Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by