Simscape not showing assembly correctly in simulation

조회 수: 1 (최근 30일)
Landon
Landon 2024년 8월 15일
댓글: Divyam 2025년 1월 15일
I imported my assembly from PTC Creo into Simscape and went to run it, but the assembly looks weird; nowhere like my assembly.
A screenshot of the two is below. Any suggestions?
  댓글 수: 1
Yifeng Tang
Yifeng Tang 2024년 8월 20일
Feels like missing a step or two in the export/import process.
Maybe try it with a much smaller assembly first? Like two parts and one joint? That may help identify the issue.

댓글을 달려면 로그인하십시오.

답변 (1개)

Divyam
Divyam 2024년 8월 26일
편집: Divyam 2024년 8월 27일
Hi @Landon, MATLAB provides support for Creo up to version 9 as of MATLAB R2023b. If you are using Creo 10, then the assembly might get disfigured due to the support 'dll' not being available.
If you are using the other versions, the disfigurement of your assembly might be occurring due to the use of incorrect 'dlls'. The correct dlls for each version are listed below.
1. cl_proe2sm.dll supports Creo versions up to Creo 5.0
2. cl_proe2sm_6 supports Creo 6
3. cl_proe2sm_7 supports Creo 7
4. cl_proe2sm_8 supports Creo 8
5. cl_proe2sm_9 supports Creo 9
To check whether you are using the right 'dlls' first locate the 'protk.dat' registry file for your Creo application (commonly found in the root/startup folders of the Creo application) and check for this code in the file.
name Simscape Multibody Link
startup dll % The startup dll version should be correct wrt to the Creo version you are using
exec_file <Enter matlabroot\installation Path>\bin\win64\cl_proe2sm.dll
text_dir <Enter matlabroot\installation Path>\toolbox\physmod\smlink\cad_systems\proe\text
unicode_encoding false
end
If the issue persists despite using the correct 'dll' for the appropriate Creo application, refer to this documentation and install the Simscape Multibody Link Plugin again: https://www.mathworks.com/help/sm/ug/installing-and-linking-simmechanics-link-software.html
  댓글 수: 2
Markus
Markus 2025년 1월 14일
is it anytime soon planned to support Creo 10 as well?
Kind Regards
Markus
Divyam
Divyam 2025년 1월 15일
Hi @Markus, you would need to refer to the release notes or any other official communication by MathWorks regarding this information. As of now, I can't find any details about a plan to support Creo 10 in a future release.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Equations에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by