- Select the "Modeling" tab of the toolstrip.
- Click the dropdown for "Model Settings" and select "Model Properties".
- Select the "Callbacks" tab of the "Model Properties" window.
- Select "PreLoadFcn".
- Enter the "addpath" commands mentioned above to the "Model pre-load function" panel.
"The parameter Geometry/File Name is a file that does not exist. Resolve this issue in order to simulate the model." and "deeming all bodies as RIGID".
89 views (last 30 days)
Show older comments
Problems:
- file not found
- all parts are named as RIGID
Explanation for dummies pls.
0 Comments
Answers (1)
Neha
on 7 May 2024
Hi Natalia,
I understand you are facing issues while converting a CAD assembly to a Simscape Multibody model.
The error "The parameter Geometry/File Name is a file that does not exist" indicates that the geometry file was not exported.
This can be resolved by ensuring the STEP files are added to your MATLAB path before you attempt to simulate your model. It's advisable to keep these STEP files in a subfolder related to your SLX file and add this subfolder to your MATLAB path. This can be done using the "addpath" function. To automatically add the subfolder to your MATLAB path when loading your model, you can enter the necessary commands into the model callbacks by following these steps:
You can refer to the following documentation link for more information on the "addpath" function:
Regarding the warning message, Simscape Multibody replaces the constraint with a rigid connection whenever the CAD assembly contains an unsupported constraint combination between bodies. A warning message is displayed that identifies the affected bodies and their connection frames. For further details, please refer to this documentation link, where this warning message is explained with an example:
Hope this helps!
0 Comments
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!