- When exactly does the problem happen?
- Are you getting any error message? If so, post the complete error message.
How to import a 3D CAD on simulink , if I am using Apple Macbook ?
4 views (last 30 days)
Show older comments
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 Comments
Walter Roberson
on 2 Oct 2017
VR Sink would be for writing files. You would need VR Source, which can handle VRML and X3D files.
Accepted Answer
Nick Choi
on 2 Oct 2017
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 Comments
Walter Roberson
on 4 Oct 2017
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.)
More Answers (0)
See Also
Categories
Find more on Simscape Multibody in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!