- 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".
51 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1667691/image.png)
Problems:
- file not found
- all parts are named as RIGID
Explanation for dummies pls.
0 Kommentare
Antworten (1)
Neha
am 7 Mai 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 Kommentare
Siehe auch
Kategorien
Mehr zu Simulation and Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!