Dynamic / animated xy graph in simulink possible?

2 次查看(过去 30 天)
Hello everybody,
I have a wall model, where I try to visualize the temperature between the layers. Therefore I intend some kind of dynamic / animated Glaser-graph (like here:
)
For my wall temperatures (6 nodes), I use ToWorkspace to create a 6,n vector, but have problems to get it connected.
First I tried static variables:
x=[1 1; 2 2; 3 3; 4 4; 5 5; 6 6]
y=[10 1; 11 2; 11 3; 12 4; 14 5; 15 6]
and then connected it with FromWorkspace. The XY-graph opens up on Simulation start and everything is fine but static.
Then I tried my workspace variable (array 6,n) on y:
[y(:,1) z(:,end)]
The graph stays empty and doesn't even show the last value of my array. Any solutions?
How to go on, to get it even dynamic?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Animation 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by