How to change the coordinate system set in Simulink/Mechanics Explorer
이전 댓글 표시
I import the robot model that has previously set axes in Solidworks to Simulink via Simscape. But in the Mechanics Explorer window, the robot axes have been changed unlike what I have set in Solidworks. Please help me change the axis in Matlab/Simulink's Mechanics Explorer window to my liking. Thanks all
답변 (1개)
Sahas Marwah
2023년 6월 18일
0 개 추천
In Mechanics Explorer, the coordinate system can be changed by modifying the block parameters. Here are the steps of doing it:
- Open the Simulink model that you want to modify and locate the Mechanics Explorer block that represents your physical system.
- Double-click on the block to open its parameter dialog and select the 'Coordinate Systems' tab.
- In the 'Coordinate Systems' tab, you can add or remove coordinate systems to the model by clicking the relevant buttons.
- To add a new coordinate system, click on the 'Add' button and specify the properties of the new coordinate system, such as its origin and orientation relative to the existing coordinate systems.
- You can also modify the orientation of the coordinate system using rotation/scaling/translation blocks, which allow you to modify the coordinate system about its x, y, or z-axis. These blocks can be added to the model and connected to the existing coordinate systems to modify their orientation.
- Once you have modified the coordinate system set, you can simulate the model to see the updated results.
You can also go through these documentation links for the same:
- https://in.mathworks.com/help/sm/ref/mechanicsexplorer-app.html - Mechanics Explorer
- https://in.mathworks.com/help/sm/ug/manipulate-the-visualization-viewpoint.html - Manipulate and Visualization Viewpoint
카테고리
도움말 센터 및 File Exchange에서 Assembly에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!