put environment file from solidworks in simscape
显示 更早的评论
I make an environment file for robotic simulation with solidworks
it consists of ground(wide enough), desk, chair, and some others
all stuffs must be fixed and not move.
I want to put them in the simscape as an environment file
after I put this environment file, I must put 2 robot files(one is UR5, and other is self design robot arm in solidworks)
how can I put an environment file as an environment file in matlab simulation?
plz answer.
回答(1 个)
Steve Miller
2022-11-19
0 个投票
You can define your environment using the File Solid block, where you can reference your files directly.
The robots can be imported using smimport() if you have used the Simscape Multibody Link plug-in for SolidWorks. If your robots are defined using URDF files, you can import them directly using smimport().
Many examples for URDF import (including UR5) are available in this File Exchange submission:
Download the files and follow the instructions.
--Steve
类别
在 帮助中心 和 File Exchange 中查找有关 Model Import 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!