Automatically installing Add-Ons for users

조회 수: 2 (최근 30일)
Eric Bender
Eric Bender 2024년 9월 24일
댓글: Eric Bender 2024년 9월 27일
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
Eric Bender
Eric Bender 2024년 9월 27일
Thank you for that very helpful link Malay. I think I have a direction now to go to perform this installation for the users.

댓글을 달려면 로그인하십시오.

채택된 답변

Kanishk
Kanishk 2024년 9월 25일
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
  댓글 수: 1
Eric Bender
Eric Bender 2024년 9월 27일
Thank you for that suggestion Kanishk. I think this will help me accomplish what I'm try to do. Much appreciated!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by