How to import a 3D CAD on simulink , if I am using Apple Macbook ?

4 次查看(过去 30 天)
I want to import a 3D CAD of my inverted pendulum on Simulink with SimMechanics. I have a bootcamp windows 10 installed and I work on 3D modelling over there. I have tried saving the CAD file of SolidWorks in the form of .step file but it does not works on simulink .
  4 个评论
Walter Roberson
Walter Roberson 2017-10-2
It sounds as if it is not a STEP-XML file
VR Sink would be for writing files. You would need VR Source, which can handle VRML and X3D files.

请先登录,再进行评论。

采纳的回答

Nick Choi
Nick Choi 2017-10-2
To export a CAD assembly from SolidWorks to Simscape Multibody (formerly SimMechanics), you can use Simscape Multibody Link.
The following documentation page provides information on how to install and enable the plug-in: https://www.mathworks.com/help/physmod/smlink/ug/installing-and-linking-simmechanics-link-software.html
Once Simscape Multibody Link is installed and enabled, you can refer to this documentation page to export the CAD model: https://www.mathworks.com/help/physmod/smlink/ref/exporting-assemblies-to-physical-modeling-xml-format_brnjwi7-1.html
  2 个评论
Anshuman S
Anshuman S 2017-10-4
I am using macOS, thus I don't have access to Solidworks on the macOS where I have my Matlab application . While I have a bootcamp to work on Windows, there I have my Solidworks application. Can these two be still related ?
Walter Roberson
Walter Roberson 2017-10-4
Unfortunately the Multibody Link uses ActiveX, which is not available on MacOS, so even if you used Parallels to be able to run the Windows version of Solidworks at the same time you were running MATLAB on MacOS, you would not be able to make the link.
About the only thing I can suggest is that you can run Parallels to not have to boot into bootcamp to run MS Windows. It runs acceptably well (but it cannot have direct access to the graphics hardware or any GPU.)

请先登录,再进行评论。

更多回答(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