Simscape Mechanics Explorer plot a dynamic line

5 Ansichten (letzte 30 Tage)
fmo2641
fmo2641 am 22 Okt. 2020
So I am building a Simscape simulation with 3D cad objects. For visualization purposes I want to be able draw(plot) a line that represents my field of view from a 3D cad camera to a point in space. I was wondering if there is a way of ploting this line in such a way that it updates after every time interval.

Antworten (2)

Menaka Thathsarana
Menaka Thathsarana am 5 Mai 2023
I need to plot the path traveled by the solid block within the mechnics explorer during the motion. please let me know. thanks

J Chen
J Chen am 4 Nov. 2020
You can use a slender cylinder to represent the line and attached it to the camera.
  1 Kommentar
fmo2641
fmo2641 am 11 Feb. 2021
would I be able to change the length of the cylinder dynamically with a variable?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Simulation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by