"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".

52 次查看(过去 30 天)
Problems:
  1. file not found
  2. all parts are named as RIGID
Explanation for dummies pls.

回答(1 个)

Neha
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:
  1. Select the "Modeling" tab of the toolstrip.
  2. Click the dropdown for "Model Settings" and select "Model Properties".
  3. Select the "Callbacks" tab of the "Model Properties" window.
  4. Select "PreLoadFcn".
  5. Enter the "addpath" commands mentioned above to the "Model pre-load function" panel.
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!

类别

Help CenterFile Exchange 中查找有关 Simulation and Analysis 的更多信息

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by