CAD to MATLAB to Simscape Multibody

Export a CAD assembly to a MATLAB data structure and import into a Simscape Multibody model.
4,2K téléchargements
Mise à jour 1 sept. 2016

Afficher la licence

This file contains data2smixml(), which is MATLAB code that converts a MATLAB data structure into a Simscape Multibody model. A macro written in Visual Basic extracts CAD assembly information from a SolidWorks assembly into a specific MATLAB data structure. That MATLAB data structure is converted to a Simscape Multibody XML file using the MATLAB function data2smixml(). The resulting Simscape Multibody XML file can be imported into a Simscape Multibody model using smimport().
A Visual Basic macro is provided to show an algorithm for extracting data from a CAD assembly. Assemblies in SolidWorks, Wildfire, Creo (formerly Pro/Engineer), and Inventor can be exported to a SimMechanics XML file using Simscape Multibody Link. If you are using another CAD system, this example can help you write a macro for your CAD system.
Please read the README.txt file to get started.
Watch this video to see how Simscape Multibody Link works
http://www.mathworks.com/videos/importing-a-cad-suspension-assembly-into-simmechanics-89612.html

To find other Simscape examples, search for posts with the keyword "physical modeling"
http://www.mathworks.com/matlabcentral/fileexchange/?term=%22physical+modeling%22

To learn more about MathWorks Simscape Products, go to:
http://www.mathworks.com/physical-modeling/

Citation pour cette source

Steve Miller (2024). CAD to MATLAB to Simscape Multibody (https://www.mathworks.com/matlabcentral/fileexchange/47070-cad-to-matlab-to-simscape-multibody), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2016a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Model Import dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

CAD_to_MATLAB_to_Simscape_Multibody_R14a/

CAD_to_MATLAB_to_Simscape_Multibody_R14a/Robot/SimMechanics_XML/

CAD_to_MATLAB_to_Simscape_Multibody_R16a/

CAD_to_MATLAB_to_Simscape_Multibody_R16a/Robot/SM_XML/

Version Publié le Notes de version
1.1.0.1

Updated license

1.1.0.0

Updated for R2016a (SimMechanics renamed Simscape Multibody).

1.0.0.0