How to plot the trajectory of point in Simscape?

12 vues (au cours des 30 derniers jours)
Man R
Man R le 17 Mar 2021
Commenté : Man R le 17 Mar 2021
  1. Please load the "data_for_sim.mat" into workspace.
  2. Open "Learning_Simscape.slx" and run the simulation.
I want to plot the path traced by the end point, something like the attached image (unnamed.jpg). How to get the path in Simscape when the simulation is going on? I don't want to extract the "x" and "y" coordinates of the end joint and plot a seperate graph in Matlab.

Réponses (1)

Jonas
Jonas le 17 Mar 2021
Use the XY Graph block from Simulink.
  1 commentaire
Man R
Man R le 17 Mar 2021
ThanX for replying, but I don't need the trajectory on seperate window.
I need the trajectory to be shown instantaneously just as when the joint is moving.
I want to see in the simulation itself the path travelled.
I would be humbled if you could help me.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Applications dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by