Automatically installing Add-Ons for users
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have multiple versions of Matlab installed on my PC. I'm trying to automate the process that installs Add-Ons for our user community. I've downloaded the Variant Manager package to my PC (variantmanagerforsimulink.mlpkginstall) and have placed it in a common shared team folder that is on my Matlab path. I've written a script to check for it's existance in a person's Matlab before attempting an install. If it isn't installed I simply use the system call:
system('<path to add-on>\variantmanagerforsimulink.mlpkginstall')
This works however it keeps launching the wrong version of Matlab for the installation. How do I specifiy in the system call the version of Matlab that I want to use for this add-on installation?
2 commentaires
Réponse acceptée
Kanishk
le 25 Sep 2024
Hi Eric,
I understand that you want to install MATLAB support package for different versions of MATLAB. You can install MATLAB packages using command line also specifying the path of MATLAB which will install the package in the mentioned version.
Use below command to silently install MATLAB packages.
“<MATLAB_PATH>\bin\win64\SupportSoftwareInstaller.exe” -downloadfolder <MATLAB package folder> -inputfile <Path to ssi.txt file>
Hope this helps!
Thanks
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!