MATLAB :【12,总结拼多多美团Linux运维面试经验

50 阅读3分钟

创建安装配置文件:touch ~/installer_input.txt

编辑配置文件:vim ~/installer_input.txt

输入i进入编辑模式

在里面输入以下内容:

##################################################################

##

## Use this file to specify parameters required by the installer at runtime.

##

## Instructions for using this file.

##

## 1. Create a copy of this template file and fill in the required

##    information.

##

## 2. Uncomment only those lines that start with a single '#'

##    and set the desired values. All allowed values for the

##    parameters are defined in the comments section for each

##    parameter.

##

## 3. Launch the installer from the command line, using the -inputFile option

##    to specify the name of your installer initialization file.

##

##    (Windows) setup.exe -inputFile <file_name>

##    (Linux/macOS) install -inputFile <file_name>

##

##################################################################

##

##

## SPECIFY INSTALLATION FOLDER

## 

## Example:

##        (Windows) destinationFolder=C:\Program Files\MATLAB\RXXXX

##        (Linux) destinationFolder=/usr/local/RXXXX

##        (macOS) destinationFolder=/Applications

##

## Set the desired value for destinationFolder and

## uncomment the line.

destinationFolder=/root/Matlab_R2021a  


##

## SPECIFY FILE INSTALLATION KEY

##

## Example: fileInstallationKey=xxxxx-xxxxx-xxxxx-xxxxx.....

##

## Set the desired value for fileInstallationKey and

## uncomment the line.

##

fileInstallationKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX


##

## ACCEPT LICENSE AGREEMENT

##

## You must agree to the license agreement to install MathWorks products.

## The license agreement can be found in the license_agreement.txt file at the

## root level of the installation DVD.

##

## Example: agreeToLicense=yes

##

## Set agreeToLicense value to yes or no and

## uncomment the line.

agreeToLicense=yes


##

## SPECIFY OUTPUT LOG

##

## Specify full path of file into which you want the results of the

## installation to be recorded.

##

## Example:

##            (Windows) outputFile=C:\TEMP\mathworks_<user_name>.log

##            (Linux/macOS) outputFile=/tmp/mathworks_<user_name>.log

##

## Set the desired value for outputFile and

## uncomment the line.

outputFile=/root/matlab_install.log 


##

## Enable Login Named User licensing

##

## Set to Yes to enable use of a Login Named User license for all users of this MATLAB installation

## Users must log in to their MathWorks Account when MATLAB starts.

##

## Example: enableLNU=yes

##

## NOTE: This flag is valid in silent installations only.


# enableLNU=yes


##

## IMPROVE MATLAB

##

## Improve MATLAB by sending user experience information to MathWorks.

## Your participation ensures that you are represented and helps us design

## better products. You can opt in or out of this service either during

## installation or by going to MATLAB preferences.

## https://www.mathworks.com/support/faq/user_experience_information_faq.html

improveMATLAB=yes


########## Begin: Options for Network License Types #########

##

## SPECIFY PATH TO LICENSE FILE (Required for network license types only)

##

## This value is required when installing as a Network End-User

## Example:

##            (Windows) licensePath=C:\TEMP\license.dat

##            (Linux) licensePath=/tmp/license.dat

## Set the desired value for licensePath and

## uncomment the line.

licensePath=/root/network.lic 


########## End: Options for Network License Types #########



################# Begin - Windows Only Options ################

## 

## CHOOSE TO SET FILE ASSOCIATIONS

## 

## Set to true if you want the installer to associate file types used by MathWorks

## products to this version of MATLAB, or false if you do not want the installer to

## associate MathWorks file types with this version of MATLAB.

##

## Default value is true.

##

## Set setFileAssoc value to true or false and

## uncomment the line.


# setFileAssoc=true


##

## CHOOSE TO CREATE WINDOWS DESKTOP SHORTCUT

##

## Set to true if you would like the installer to create a desktop shortcut icon

## when MATLAB is installed or false if you don't want the shortcut created.

##

## Default value is false.

##

## Set desktopShortcut value to true or false and

## uncomment the line.


# desktopShortcut=false


## CHOOSE TO ADD SHORTCUT TO WINDOWS START MENU

##

## Set to true if you would like the installer to create a Start Menu shortcut

## icon when MATLAB is installed or false if you don't want the shortcut created.

##

## Default value is true.

##

## Set startMenuShortcut value to true or false and

## uncomment the line.


# startMenuShortcut=true


## CREATE a MATLAB Startup Accelerator task

##

## The MATLAB Startup Accelerator installer creates a

## system task to preload MATLAB into the system's cache

## for faster startup.

##

## NOTE: By default, a MATLAB Startup Accelerator task will

## automatically be created.

##

## If you want a MATLAB Startup Accelerator task to be created,

## do not edit this section.

##

## Set createAccelTask value to false if you do not want to

## create an Accelerator task and uncomment the line.


# createAccelTask=true


################ End - Windows Only Options ################


## SPECIFY PRODUCTS YOU WANT TO INSTALL

##

## By default, the installer installs all the products and

## documentation for which you are licensed. Products you are not licensed for

## are not installed, even if they are listed here.

##

## Note:

## 1. To automatically install all your licensed products, do not edit

##    any lines in this section.

## 

## 2. To install a specific product or a subset of products for

##    which you are licensed, uncomment the line for the product(s) you want

##    to install.


#product.5G_Toolbox

#product.AUTOSAR_Blockset

#product.Aerospace_Blockset

#product.Aerospace_Toolbox

#product.Antenna_Toolbox

#product.Audio_Toolbox

#product.Automated_Driving_Toolbox

#product.Bioinformatics_Toolbox

#product.Communications_Toolbox

#product.Computer_Vision_Toolbox

#product.Control_System_Toolbox

#product.Curve_Fitting_Toolbox

#product.DDS_Blockset

#product.DO_Qualification_Kit

#product.DSP_System_Toolbox

#product.Data_Acquisition_Toolbox

#product.Database_Toolbox

#product.Datafeed_Toolbox

#product.Deep_Learning_HDL_Toolbox

#product.Deep_Learning_Toolbox

#product.Econometrics_Toolbox

#product.Embedded_Coder

#product.Filter_Design_HDL_Coder

#product.Financial_Instruments_Toolbox

#product.Financial_Toolbox

#product.Fixed-Point_Designer

#product.Fuzzy_Logic_Toolbox

#product.GPU_Coder

#product.Global_Optimization_Toolbox

#product.HDL_Coder

#product.HDL_Verifier

#product.IEC_Certification_Kit

#product.Image_Acquisition_Toolbox

#product.Image_Processing_Toolbox

#product.Instrument_Control_Toolbox


**自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。**



### 最后的话

最近很多小伙伴找我要Linux学习资料,于是我翻箱倒柜,整理了一些优质资源,涵盖视频、电子书、PPT等共享给大家!


### 资料预览

给大家整理的视频资料:

![](https://p9-xtjj-sign.byteimg.com/tos-cn-i-73owjymdk6/0e2e34a5446046d78dbe4644bc46f4c6~tplv-73owjymdk6-jj-mark-v1:0:0:0:0:5o6Y6YeR5oqA5pyv56S-5Yy6IEAg55So5oi3MDgwNDUxMTkwMTI=:q75.awebp?rk3s=f64ab15b&x-expires=1772721039&x-signature=2DtoTaUn6wGHCYkL00TJmMQWzn8%3D)

给大家整理的电子书资料:

  

![](https://p9-xtjj-sign.byteimg.com/tos-cn-i-73owjymdk6/a96f1d954ace4864920e7c94d9e2632c~tplv-73owjymdk6-jj-mark-v1:0:0:0:0:5o6Y6YeR5oqA5pyv56S-5Yy6IEAg55So5oi3MDgwNDUxMTkwMTI=:q75.awebp?rk3s=f64ab15b&x-expires=1772721039&x-signature=Fy%2FNK0ROY125jP1LUF3B2ODa4vg%3D)



**如果本文对你有帮助,欢迎点赞、收藏、转发给朋友,让我有持续创作的动力!**

详情docs.qq.com/doc/DSmdCdUNwcEJDTXFK