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

16 vues (au cours des 30 derniers jours)
Resha Shah
Resha Shah le 19 Avr 2019
Commenté : Steve Miller le 11 Avr 2024 à 16:56
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.

Réponses (1)

Steve Miller
Steve Miller le 28 Avr 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
  2 commentaires
Natalia Rishma A
Natalia Rishma A le 11 Avr 2024 à 16:31
Sir, I have simscape multibody license but I face the same issue. How should I resolve it?
Steve Miller
Steve Miller le 11 Avr 2024 à 16:56
Can you upload the files so we can test the import?
--Steve

Connectez-vous pour commenter.

Catégories

En savoir plus sur Simscape Multibody dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by