Coordinate System Mismatch When Importing Robot Model from SolidWorks 2021 to MATLAB 2023b Simscape
Hi everyone,
I am working on a robot model in SolidWorks 2021 and have exported it to MATLAB 2023b for simulation in Simscape. However, I encountered an issue where the coordinate system of my robot seems to be flipped or mismatched compared to the one I set up in SolidWorks. Specifically, the Z-axis appears to be inverted in MATLAB.
Here are some details about my setup:
I used the Simscape Multibody Link plugin to export the SolidWorks model.
The transform settings in MATLAB use an arbitrary axis rotation and Cartesian translation, as exported.
I have verified the axis and angle values, but the coordinate system doesn’t match the original SolidWorks model.
My questions are:
How can I ensure that the coordinate systems in MATLAB/Simscape exactly match those in SolidWorks?
Are there specific settings during the export or import process that I need to check to avoid this mismatch?
If the coordinate system is flipped, what adjustments should I make in MATLAB to correct it without breaking the simulation?
Any guidance or tips would be greatly appreciated! Thank you in advance.Hi everyone,
I am working on a robot model in SolidWorks 2021 and have exported it to MATLAB 2023b for simulation in Simscape. However, I encountered an issue where the coordinate system of my robot seems to be flipped or mismatched compared to the one I set up in SolidWorks. Specifically, the Z-axis appears to be inverted in MATLAB.
Here are some details about my setup:
I used the Simscape Multibody Link plugin to export the SolidWorks model.
The transform settings in MATLAB use an arbitrary axis rotation and Cartesian translation, as exported.
I have verified the axis and angle values, but the coordinate system doesn’t match the original SolidWorks model.
My questions are:
How can I ensure that the coordinate systems in MATLAB/Simscape exactly match those in SolidWorks?
Are there specific settings during the export or import process that I need to check to avoid this mismatch?
If the coordinate system is flipped, what adjustments should I make in MATLAB to correct it without breaking the simulation?
Any guidance or tips would be greatly appreciated! Thank you in advance. Hi everyone,
I am working on a robot model in SolidWorks 2021 and have exported it to MATLAB 2023b for simulation in Simscape. However, I encountered an issue where the coordinate system of my robot seems to be flipped or mismatched compared to the one I set up in SolidWorks. Specifically, the Z-axis appears to be inverted in MATLAB.
Here are some details about my setup:
I used the Simscape Multibody Link plugin to export the SolidWorks model.
The transform settings in MATLAB use an arbitrary axis rotation and Cartesian translation, as exported.
I have verified the axis and angle values, but the coordinate system doesn’t match the original SolidWorks model.
My questions are:
How can I ensure that the coordinate systems in MATLAB/Simscape exactly match those in SolidWorks?
Are there specific settings during the export or import process that I need to check to avoid this mismatch?
If the coordinate system is flipped, what adjustments should I make in MATLAB to correct it without breaking the simulation?
Any guidance or tips would be greatly appreciated! Thank you in advance. simscape, solidworks, multibody, coordinate-system, model MATLAB Answers — New Questions