Plotting trajectory in Mechanics Explorer window.

조회 수: 10 (최근 30일)
Moondog
Moondog 2015년 4월 10일
댓글: Alessandro Morelli 2018년 4월 11일
Is there some method to plot the trajector of a frame of a SimMechanics model in the Mechanics Explorer window as the animation moves?

답변 (1개)

Steve Miller
Steve Miller 2018년 3월 8일
You cannot plot it as the trajectory is created. A workaround is to save the trajectory to a MATLAB variable and then visualize the trajectory using the Spline. An example is shown below.
You can download this example from the MATLAB Central File Exchange: Four Bar Linkage Optimization in Simscape
--Steve
  댓글 수: 1
Alessandro Morelli
Alessandro Morelli 2018년 4월 11일
Revised the whole library, i can't seem to find the part of the code that does that, in my case i just want to plot a single point, for example (2,2,4) on top of the block diagram i imported from solidworks, is there any way to just plot a single point in the 3d space?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Bodies에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by