View specifications for Simscape Multibody?

조회 수: 1 (최근 30일)
Chuck Saunders
Chuck Saunders 2016년 5월 27일
편집: Steve Miller 2019년 4월 3일
Hello, I'm running some complex Simscape Multibody simulations. The 3D output window is currently sufficient for what I'm doing, but objects keep leaving the screen.
With conventional plots, this would be no issue - I would just set
axis([-x +x -y +y -z +z]);
view([az el]);
and get the window view fixed at what I want it to be. Is something similar possible with the Simscape Multibody viewer?

채택된 답변

Steve Miller
Steve Miller 2019년 4월 3일
편집: Steve Miller 2019년 4월 3일
The default viewpoint for the Mechanics Explorer is a fixed location and orientation in space. If your object is moving, it will move out of the field of view. You can define viewpoints that will track objects. See this video Exploring Simscape Multibody Models (2 minutes)
Try defining a new camera that tracks a frame. This page in the documentation will get you started.
--Steve

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by