Skip to main content
1-Visitor
Jul 10, 2024 12:19 AM UTC
Question

Enable Simscape Multibody Link Creo-Pro/E Plug-In

I'm trying to follow the directions, from:

https://www.mathworks.com/help/smlink/ref/linking-and-unlinking-simmechanics-link-software-with-proengineer.html

 

So I can access the toolkit and simulate my assembly in Simulink, but I can't seem to find the protk.dat file the website mentions. 

 

I looked in the configuration files that PTC Creo is running and the protk.dat file wasn't there either. I attached a screenshot below.

 

How should I go about this?

2 replies

24-Ruby III
Jul 10, 2024 7:56 AM UTC

Hi,

https://www.mathworks.com/help/smlink/ref/linking-and-unlinking-simmechanics-link-software-with-proengineer.html page tells you that you have to create protk.dat.

 

Open Notepad and put into it something like this:

name Simscape Multibody Link
startup dll
exec_file matlabroot\bin\os\cl_proe2sm.dll
text_dir matlabroot\toolbox\physmod\smlink\cad_systems\proe\text
unicode_encoding false
end

Then save the file as protk.dat. Please check that file file name is really protk.dat (prevent the creation of protk.dat.txt file).

 

Translate
Community Moderator
Jul 17, 2024 3:25 AM UTC

Hello @LH_11210795,

 

It looks like you have a response from a community member. If it helped to answer your question please mark the reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.

Translate