File Exchange

image thumbnail

isToolboxAvailable

version 1.0.0.0 (1.27 KB) by Reza Ahmadzadeh
This function checks the availability of a specific toolbox on the installed MATLAB on your machine.

1 Download

Updated 29 Jun 2015

View License

This function checks the availability of a specific toolbox on the installed MATLAB on your machine.
The inputs to the function include:
1- the name of the specific toolbox as a string: 'Image Processing Toolbox'
2- the action you want the function take including {'warning', 'error'} . This input is optional.
The output of the function is 1 if the toolbox is installed on your machine and 0 otherwise.
Check out the following example:

>> result = isToolboxAvailable('Image Processing Toolbox','error')
>>
>> result =
>> 1

Comments and Ratings (3)

Guy Lavi

Was never really needed. Since 2006a there's license('test', TOOLBOX_NAME)

http://www.mathworks.com/help/matlab/ref/license.html

Franc Dimc

David MERCIER

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor