- 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 次查看(过去 30 天)
显示 更早的评论
Problems:
- file not found
- all parts are named as RIGID
Explanation for dummies pls.
0 个评论
回答(1 个)
Neha
2024-5-7
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simscape Multibody 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!