How does MATLAB know what toolboxes are installed?
Mostrar comentarios más antiguos
The toolboxes get installed underneath `$INSTALL_PATH/toolbox` but there seems to be more at play than just probing a set path on the file system. What goes on in the installer when a new toolbox is installed to an existing MATLAB installation?
Respuesta aceptada
Más respuestas (2)
Image Analyst
el 8 de Ag. de 2014
1 voto
Actually apparently it's not much more than putting all your files in a folder and adding that folder to the search path. Here's the official Mathworks Answer: http://www.mathworks.com/matlabcentral/answers/91381-how-do-i-create-my-own-matlab-toolbox-and-a-list-of-its-contents
Your accepted answer of "it uses ver to figure out what toolboxes are installed" is not really accurate. Sure, it will tell you what toolboxes are installed, but even if you never ever call ver , MATLAB will still figure out what toolboxes are installed because it will find toolbox functions you call by traversing the search path. ver is not required.
1 comentario
Andreas Goser
el 8 de Ag. de 2014
In addition, you may want to distinguish between installed and licensed products. The can be important in situations where the IT departments installs efficiently all purchased products for let's say 1000 users, but they are not all licensed for all products, but by persor or department. Check out the 'license' command.
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!