How can I visualize the trajectory of a moving frame when doing the Simscape Multibody simulation?
Mostra commenti meno recenti
I have finished a simulation in Simscape Multibody, but I meet a trouble when showing the trajectory of a moving body's frame in the "Mechanics Explorer" window.
I have also tried the function plot3 and comet3, however, it can only show the timeseries data in the workspace.
Is there a way to show the trajectory in the "Mechanics Explorer" window? or other way to achieve the same purpose.
Risposta accettata
Più risposte (1)
sloppydisk
il 18 Mag 2018
Simply plot the data after exporting to workspace:
plot(xout.data, yout.data)
Categorie
Scopri di più su Bodies 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!
