How to add real time graph in simulink 3D animation?
Mostra commenti meno recenti
I would like to implement something like, http://www.mathworks.com/examples/3d-animation/1771-vehicle-dynamics-visualization-with-graphs. It uses an s function vr_octavia_graphs to accomplish this but it isn't accessible.(mask) How can I customize this for my application or put a new one together?
Risposte (2)
Mike Garrity
il 14 Set 2015
1 voto
This blog post illustrates one way to use MATLAB Graphics from a Simulink simulation. There are several other approaches. This one's using what's called a Level-2 MATLAB S-Function.
The actual MATLAB Graphics to draw the double pendulum in that example probably aren't what you want. You'd probably want to replace it with something like one of the animatedline examples.
1 Commento
HJ Jay
il 14 Set 2015
Jan Houska
il 15 Set 2015
Modificato: Jan Houska
il 15 Set 2015
0 voti
The S-function in the vr_octavia_graphs example is masked, but it is still accessible. Doing Look under mask on the block reveals the implementation - a S-function named octavia_graphs, written as MATLAB program.
So "edit octavia_graphs" opens the example S-function in editor and you should be able to start from there.
Categorie
Scopri di più su Simulation in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!