Can I uninstall specific MATLAB toolboxes just for me, on Linux or Unix?

3 views (last 30 days)
I need to compile a project, but compilation fails since I don't have free license for toolboxes that I'm not assigned to. The compiler is compiling these toolboxes although I never use/call them. I cannot uninstall the entire toolbox since other are using it (and have licenses). This issue is in Linux where we all use same installation. Thank you,

Answers (1)

Nidhi Jain
Nidhi Jain on 7 Jul 2014
Hello Alecsander,
If you are using MATLAB R2013a or earlier version, you might have to uncheck the toolboxes you are not using in your code, before compiling. This can be done by:
  • Clicking on the “Settings” icon in “deploytool” window and selecting “Settings”.
  • Select the tab “Toolboxes on Path” and uncheck the toolboxes that are not being used in the code.
In case you are using MATLAB R2013b and beyond, you can explicitly specify the toolboxes you want the code to use, so that it does not look for anything else. You can do this by:
  • Selecting “Settings” button on the “deploytool” window and adding flag “-N” to first uncheck all the toolboxes and then specify the list of toolboxes that your code uses with the “-p” flag.For example, if your code uses “Data Acquisition toolbox” and “Image Acquisition toolbox”, the additional parameters passed to MCC will be:-N -p daq imaq
The exact error message would help to know where the issue lies. Also, how do you know which toolboxes is the MATLAB compiler compiling?

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!