Problem with exporting Assemblies in Creo Parametric 7.0 with Simscape Multibody Link
Show older comments
I am trying to set up Simscape Multibody Link with Creo Parametric 7.0.0.0 Student Edition and Matlab R2021a on a win64 machine and am encountering an error when exporting my assemblies to XML.
For my setup, I have followed the Installation Guide for Simscape Multibody Link Plugin step by step. I am using Matlab R2021a with Simscape Multibody Link 7.3.
After this, I followed this guide for enabling the Simscape Multibody Link with Creo. I created the protk.dat file and set the paths to my installation of Matlab.
protk.dat:
name Simscape Multibody Link
startup dll
exec_file C:/Program Files/MATLAB/R2021a/bin/win64/cl_proe2sm.dll
text_dir C:/Program Files/MATLAB/R2021a/toolbox/physmod/smlink/cad_systems/proe/text
unicode_encoding false
end
I then updated the config.pro file:
toolkit_registry_file C:/Users/Ente/Documents/protk.dat
When I start Creo, the Simscape Multibody Link option shows up under tools, just like the instruction says it should.
However, when I run the command regmatlabserver in Matlab (as administrator) and try to export my assembly, I get the error "An error occured while exporting the current assembly to XML file." with no further information. An XML is still created though, but Matlab crashes when I try to load it with smimport.
Does anyone have an Idea what I'm doing wrong? I have tried everything I can think of (restarting Matlab and Creo, re-installing the plugin, shortening the paths to where the protk.dat, config.pro and my assembly are saved, trying multiple different assemblies). The only thing I can think of is that I'm using the Student Version of Creo. This also prevents me from opening and testing the demo assemblies provided by the plugin (found in .toolbox\physmod\smlink\smlinkdemos\proe).
Any help to this problem would be greatly appreciated
1 Comment
Steve Miller
on 16 Jun 2021
Can you share the results of the export process? And perhaps the Creo assembly?
--Steve
Accepted Answer
More Answers (0)
Categories
Find more on Simulation and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!