如何在MATLAB R2018A或更新中默默安装支持金宝app软件包?

50次观看(最近30天)
如何在MATLAB R2018A或更新中默默安装支持金宝app软件包?

Accepted Answer

数学工作Support Team
数学工作Support Team 2019年8月9日
Edited:数学工作Support Team 2019年8月9日
This process is not available in MATLAB releases prior to R2018a.
为了安装一个包默默地支持你金宝appwill need to follow the procedure in the article below to download the files for the support package before hand.
How do I Download and Install a Support Package on an Offline Machine?
Once you obtained the installation files for the support package please follow the below workflow to silently install support packages:
If MATLAB has not been run on the target machine, you must be set to root first. Set the support package to root by launching MATLAB running the following command at the MATLAB prompt and then closing MATLAB.
_installFolder = matlabshared.supportpkg.getSupportPackageRoot; matlabshared.supportpkg.setSupportPackageRoot(installFolder);_
视窗:
  • 打开命令提示符窗口,并运行以下命令:
  • \ bin \ win64 \ su金宝apppportsoftwareinstaller.exe -downloadfolder -Inputfile \ ssi_input.txt
Example:
C:\Program Files\MATLAB\R20XXx\bin\win64\SupportSoftwareInstaller.exe -downloadfolder C:\Users\jsmith\Downloads\MathWorks\SupportPackages\R20XXx -inputFile C:\Users\jsmith\Downloads\MathWorks\SupportPackages\R20XXx\ssi_input.txt
Linux:
  • Open a terminal window, and run the following command:
  • /bin/glnxa64/supports金宝appoftwareinstaller -downloadfolder -inputfile /sssi_input.txt
Example:
/usr/local/matlab/r20xxx/bin/glnxa64/金宝appsupportsoftwareinstaller -downloadfolder/home/jdoe/jdoe/jdoe/downloads/mathworks/supportpackages/r20xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
苹果电脑:
  • Open a terminal window, and run the following command:
  • /BIN/MACI64金宝app/SUPPORTSOFTOOFTWAREINSTALLER.SH -DOLLOADFOLDER -Inputfile /SSSI_INPUTE.TXT
Example:
/Applications/MATLAB_R20XXx.app/bin/maci64/SupportSoftwareInstaller.sh -downloadfolder /Users/jdoe/Downloads/MathWorks/SupportPackages/R20XXx -inputFile /Users/jdoe/Downloads/MathWorks/SupportPackages/R20XXx/ssi_input.txt
For the path to the input file and path to user’s install folder, you can use an absolute or relative path.
此命令可能需要几分钟才能运行。完成后,检查日志文件确保
注意:以下过程必须作为管理员运行。
When you download the support packages for installation (in Article above), the installer creates a configuration file for use with silent install, named ssi_input.txt 。Inside this file is a list of the support packages to be installed.
Inside the config file, each support package has two lines – the first contains a product description and the second a product code that installer uses. If there are any support packages you want to remove from the installation, you can comment them out or delete the lines from the config file.
* 重要的是:仅与支持软件安装程序有关的无声安装。金宝app任何需要交互式安装的第三方支持软金宝app件包仍然需要您的互动。*
每次执行下载时,配置文件都会刷新以添加新的支持软件包。金宝app要重新生成从头开始的配置文件,请删除现有的文件或使用另一个目录进行下载。
If there is a failure in downloading a support package, that support package will not be listed in the config file. Before performing a silent install, check the config file to make sure that all the support packages you expect to be installed are listed. After installing, any failures are listed in the log file.
4 Comments

登录发表评论。

更多答案(0)

标签

尚未输入标签。

下载188bet金宝搏


Release

R2018a

Community Treasure Hunt

在Matlab Central中找到宝藏,发现社区如何为您提供帮助!

Start Hunting!