I am trying to import file from Solidworks to Simulink. It is showing me following errors:

14 Ansichten (letzte 30 Tage)
I am trying to import file from Solidworks to Simulink. It is showing me following errors:
Error using PMImport.ModelReader
"XML Read error" while attempting to read file "Ballvalve.xml".
Error in PMImport.ModelUpdater
Error in PMImport.pmiu_import
Error in mech_import (line 102)
PMImport.pmiu_import(varargin{:});
Warning: A file named 'Ballvalve_DataFile' already exists in the current folder. The data
file was named 'Ballvalve_DataFile2' instead.
Warning: The set of constraints between 'Blocker_Ring_1_1_RIGID' and 'Handgrip_1_1_RIGID'
could not be mapped to a joint. A rigid connection has been added between port 'F' of
'Blocker_Ring_1_1_RIGID' and port 'F' of 'Handgrip_1_1_RIGID' for these constraints.
> In smimport_implementation
In smimport (line 165)
Error using smimport_implementation
Error evaluating 'PreCopyFcn' callback of Cylindrical
Joint block (mask) 'Ballvalve/Cylindrical'.
Callback string is 'simmechanics.sli.internal.rtm_callback('PreCopyFcn',gcbh)'
Error in smimport (line 165)
smimport_implementation(multibodyDescriptionFile, varargin{:});
Caused by:
Error using PmSli.RunTimeModule/getLicenseOrFail
Cannot add block Cylindrical to the model because a license for Simscape Multibody is
not available.

Antworten (1)

Steve Miller
Steve Miller am 28 Apr. 2019
It looks like you do not have a Simscape Multibody license, which is necessary for assembling the block diagram.
Caused by:
Error using PmSli.RunTimeModule/getLicenseOrFail
Cannot add block Cylindrical to the model because a license for Simscape Multibody is
not available.
You will need to sort that out first.
--Steve

Kategorien

Mehr zu Applications finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by