Dynamic / animated xy graph in simulink possible?
3 views (last 30 days)
Show older comments
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?
Answers (0)
See Also
Categories
Find more on Animation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!