This file enables the export of CAD assemblies from Onshape® for use in Simscape Multibody. The entire assembly is exported, including geometry, mass, inertia, joints, and other important aspects of the CAD model. No installation of CAD software is required.
You need an account with Onshape – sign up at
Please read the README.txt file to get started.
To find other Simscape examples, search for posts with the keyword "physical modeling"
To learn more about MathWorks Simscape Products, go to:
Steve Miller (2019). Onshape CAD Export to Simscape Multibody (https://www.mathworks.com/matlabcentral/fileexchange/60820-onshape-cad-export-to-simscape-multibody), MATLAB Central File Exchange. Retrieved .
Hi, When I create my model and try to assemble it I get an error that reads:
['WattLinkage2']: The following errors were found in the model WattLinkage2.
['WattLinkage2/Solver Configuration']: *** Model not assembled: position violation *** Resolve this issue in order to simulate the model.
Any ideas on how to fix this? I am running Matlab R2018b
K F: Make sure you have installed Simscape and Simscape Multibody. Both of these are required for export. It sounds like you do not have them installed. --Steve
Hi, I am getting a "Undefined function or variable 'pmsl_checklicense'." when trying to run this. Any ideas? I'm on R2016b.
Formatted description only - no change to files.
Adjusted description to highlight Automation Technology tradeshow event Feb 7-9 in Anaheim, California.