MATLAB: How to import CAD assemblies from SolidWorks into SimMechanics in a coordinate system other than WORLD

cadcoordinatesimmechanicsSimscape Multibodysolidworkssystemtranslatorworld

I have an assembly in SolidWorks that I would like to translate to SimMechanics. I am using a co-ordinate system that is different from the World coordinate system.
When I translate the assembly using the SolidWorks-SimMechanics translator, I am not offered a chance to select the coordinate system. Instead the World co-ordinate system is selected by default.

Best Answer

You cannot select coordinate systems during the translation with the SolidWorks-SimMechanics CAD translator.
To work around this issue, you can write a program or M-script that translates the coordinates from World to your custom coordinate system and store them in MATLAB workspace variables. The variables can then be used in the SimMechanics dialogs.