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

17 visualizaciones (últimos 30 días)
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.

Respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Simscape Multibody en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by