Unable to load a .stl into file solid (MATLAB R2021a)

4 visualizaciones (últimos 30 días)
Theodore Bien
Theodore Bien el 18 de Nov. de 2021
Respondida: Animesh el 21 de Mayo de 2024
I have been trying to load a .stl file into MATLAB simulink as a file solid using the simscape multibody library. Whenever I do this, the following error message appears in the diagnostic viewer:
"Attempt to modify 'sm_lib' which is a locked (read-only) library"
I have tried to unlock 'sm_lib', but so far my efforts have been unsuccessful. What would be the recommended next steps towards adding this solid into my simulink model?

Respuestas (1)

Animesh
Animesh el 21 de Mayo de 2024
Seems like you are unable to unlock the "sm_lib" library.
You can use the following command to do so:
set_param('sm_lib', 'Lock', 'off');
Additionally, you can refer to the following MATLAB Answer for an alternative method to unlock a library:

Categorías

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

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by