- Replay and scroll through animation without re-running the simulation
- View multiple viewpoints simultaneously
- Interactively hide elements (so you can see elements that are behind or inside other elements)
- Define cameras that track objects or move to specific locations and orientations in time.
visualization during animation error
조회 수: 1 (최근 30일)
이전 댓글 표시
please anyone, in simscape multibody why there is no option to visualize during animation in 2nd generation as in 1st generation .
댓글 수: 0
채택된 답변
Steve Miller
2019년 4월 2일
You can animate the simulation results in Simscape Multibody Second Generation. Normally it is enabled by default when you create a new model. Try opening a shipping example (such as sm_four_bar) and the animation should appear when you press the Run button.
The animation in second generation is much more powerful than in first generation. Here are some things you can do in second generation that you cannot in first generation:
There are many more advantages to the second generation technology.
--Steve
댓글 수: 2
Steve Miller
2019년 4월 2일
What you did in first generation should work just fine in second generation. You need to
- configure the joint to accept motion in put (set Motion to Provided by Input, Torque to Automatically Computed),
- connect your Simulink signal to a Simulink-PS converter,
- within the Simulink-PS converter, on the Input Handling tab, for filtering derivatives select "Filter input, derivatives calculated"
- Select second order filter.
Example sm_windshield_wiper is already configured for a motion input. You could try it there easily - just replace the ramp input "Motion" with your constant and gain block.
You may need to slow down the simulation so that the animation matches your mouse input. Starting in R2018a, you can set the pace of execution directly in Simulink.
For earlier releases, try this:
--Steve
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulation and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!