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

3 次查看(过去 30 天)
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,

回答(1 个)

Nidhi Jain
Nidhi Jain 2014-7-7
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?

类别

Help CenterFile Exchange 中查找有关 Application Deployment 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by