How do I check to see if a specific package is installed during runtime?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Chandler Williams
le 27 Avr 2017
Réponse apportée : Walter Roberson
le 27 Avr 2017
My personal computer has the Parallel Computing Toolbox, but my work computer does not. How can I check during runtime if the computer I am running a program on has that package installed? Thanks in advance!
0 commentaires
Réponse acceptée
Walter Roberson
le 27 Avr 2017
There are two things you can check:
ver('distcomp') %this tells you whether it is _installed_
license('test','Distrib_Computing_Toolbox') %this tells you whether it is _licensed_
It is a pain that you have to know the exact magic names and that the names are different for the two facilities.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!