Can Matlab be started without certain toolboxes?

조회 수: 6 (최근 30일)
Brian Donovan
Brian Donovan 2015년 7월 14일
편집: Ghada Saleh 2015년 7월 16일
I have a license with multiple toolboxes, some of which I never need. Can I configure a start script that does not automatically load all the toolboxes?
  댓글 수: 2
Image Analyst
Image Analyst 2015년 7월 14일
Why would you want to do that?
Brian Donovan
Brian Donovan 2015년 7월 14일
Why indeed. A majority of my work is within Matlab and not within the toolboxes. Mostly this is an academic pursuit, is it possible?

댓글을 달려면 로그인하십시오.

채택된 답변

Ghada Saleh
Ghada Saleh 2015년 7월 16일
편집: Ghada Saleh 2015년 7월 16일
Hi Brian,
You can remove the path of the toolbox that you do not want loaded from MATLAB search path. To find the path of all the toolboxes installed use the command:
>> path
To remove that path of a specific toolbox, use the command:
>> rmpath('put the path of the toolbox here')
For example, to remove the Wavelet Toolbox you can execute:
>> rmpath([matlabroot '\toolbox\wavelet\wavelet'])
In order to avoid executing this command every time you start MATLAB, either use savepath or add the 'rmpath' command in your 'startup.m' file.
In order to restore the path of a specific toolbox use addpath . Alternatively, you can restore the default paths of all your toolboxes using the commands:
>> restoredefaultpath
>> rehash toolboxcache
Please note that restoring the default toolboxes path will delete the path to any custom toolbox that you might have already added and you will have to re-add them.
I hope this helps.
Ghada

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by