Why does all added simscape multibody libraries disappear when I restart MATLAB?

조회 수: 2 (최근 30일)
Darth Vader
Darth Vader 2021년 11월 14일
댓글: Darth Vader 2021년 11월 20일
Hello everyone,
I'm working on a project and for that I have downloaded some additional libraries for simscape Multibody from GitHub, like this one here:
However the problem is, whenever I restart MATLAB, this library gets erased from simulink, which forces me to re-install it all over again everytime.
Isn't there a better way to permanently install this library so that MATLAB won't erase it whenever I close the software or something?
By the way, my version is MATLAB 2017a.

답변 (1개)

Steve Miller
Steve Miller 2021년 11월 16일
Hi Darth,
This library isn't being uninstalled. The library is part of a MATLAB Project, and that project closes when you shut down MATLAB.
If you want to have the core library always be available when you run MATLAB, you can do one of the following
1. Have your MATLAB startup file open Contact_Forces_Core.prj when you start MATLAB.
*** OR ***
2. Add these folders to your MATLAB path
  • CFL_Core/Libraries
  • CFL_Core/Libraries/Extrusions
  • CFL_Core/Libraries/Help
  • CFL_Core/Libraries/Help/html
  • CFL_Core/Libraries/Images
  • CFL_Core/Scripts_Data
  • CFL_Core/Test_Models
  • CFL_Core/
--Steve

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by