MATLAB Answers

How can I determine what add-ons I have installed?

조회 수: 2,130(최근 30일)
MathWorks Support Team
MathWorks Support Team 2009년 8월 10일
편집: tommsch 2021년 10월 7일 18:27
I would like to know what products and other toolboxes are installed into my installation of MATLAB, and also what functions are provided with the toolboxes.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2020년 2월 27일
편집: MathWorks Support Team 2020년 2월 27일
*Using the Add-On Manager *
*The following answer applies to MATLAB version R2015b or later only. *
View and manage all installed add-ons using the Add-On Manager.
To open the Add-On Manager:
1. In MATLAB, go to the Home tab.
2. Select Add-Ons > Manage Add-Ons.
MATLAB displays a list of MathWorks products, toolboxes, and add-ons installed on your machine.
To view the function list for an add-on:
1. Select the add-on in the Add-On Manager.
2. In the options menu on the right of the add-on, select View in Add-On Explorer. The Functions tab shows the list of functions included with the add-on.
*Using the Command Line *
The following answer applies to MATLAB version R2017b or later only.
To produce a list of installed Community add-ons, use the 'matlab.addons.installedAddons' command:
*The following answer applies to all versions of MATLAB. *
To produce a list of installed MathWorks products and add-ons, use the 'ver' command:
<https://www.mathworks.com/help/matlab/ref/ver.html https://www.mathworks.com/help/matlab/ref/ver.html >
To produce a list of the functions available in MATLAB, use the 'help' function:
<https://www.mathworks.com/help/matlab/ref/help.html https://www.mathworks.com/help/matlab/ref/help.html >
  댓글 수: 1
Eike Petersen
Eike Petersen 2020년 6월 29일
TBH it's really sad that there is no easy programmatic way of checking whether a toolbox is ready to be used, i.e., installed and has a license.

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

추가 답변(3개)

Reza Ahmadzadeh
Reza Ahmadzadeh 2015년 6월 29일
To check if you have installed a specific toolbox, you can use the existing function in FileExchange called isToolboxAvailable . The usage is as follows:
result = isToolboxAvailable('image processing toolbox','error');
  댓글 수: 3
Eike Petersen
Eike Petersen 2020년 6월 29일
This FEX submission appears to solve this problem; see my other answer: https://de.mathworks.com/matlabcentral/fileexchange/77275-matlabtoolboxcheck

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


Eike Petersen
Eike Petersen 2020년 6월 29일
This file exchange submission appears to be a quite comprehensive solution to this problem:
It checks both whether a toolbox is installed and whether a license is available. Works for lists of toolboxes as well.

tommsch
tommsch 2021년 10월 7일 18:26
편집: tommsch 2021년 10월 7일 18:27
In the unit test framwork TTEST is an experimentally function available EXPECT_TOOLBOX, which checks the availability of toolboxes. Its usage is quite straightforward, for some toolboxes are even hardcoded shortcuts possible, e.g.:
EXPECT_TOOLBOX('parallel')
checks whether the parallel toolbox is installed and licenced.
For toolboxes with no shortcuts yet, one has to give the exact toolbox name, e.g.:
EXPECT_TOOLBOX('Distrib_Computing_Toolbox')
But, the function is still experimental.

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R14SP2

Community Treasure Hunt

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

Start Hunting!

Translated by