mosadm install-matlab
Description
mosadm install-matlab installs the latest version of MATLAB® for use in MATLAB
Online Server™. By default, this command installs MATLAB to the /MATLAB folder of your local machine.
mosadm install-matlab
installs MATLAB using the specified configuration options. For example, you can specify the
folder in which to install MATLAB, the MATLAB release you want to install, and add-on products you want to include in your
installation.option1 ... optionN
Note
This command requires an Internet connection. If your machine is not connected to the Internet, follow the instructions in Install Products on Offline Computer instead.
To use this command, you must have ownership of the folder into which you are installing MATLAB, and you must have read and write privileges on the folder. If the folder does not exist, then you must have ownership of the parent folder so that the installation folder can be created.
Examples
Install the latest version of MATLAB into the default /MATLAB folder on your machine. If this
folder does not exist, the mosadm install-matlab command creates
it.
./mosadm install-matlabInstall MATLAB
R2025b and Database Toolbox™ into the /usr/local/MATLAB folder of your local
machine.
./mosadm install-matlab --matlab-root /usr/local/MATLAB --matlab-version R2025b --products "MATLAB Database_Toolbox"Input Arguments
One or more configuration options, specified as strings corresponding to valid configuration options from these tables.
Specific to mosadm install-matlab
| Option | Description |
|---|---|
--matlab-root
| Destination path in which to install MATLAB. Specify
Default:
|
--matlab-version
| MATLAB release to install, specified as a string of the form
R20 Example: |
--products " | List of products to install, specified as a space-separated list. When specifying multiple products, replace spaces within product names with underscores and enclose the product list in quotes. Example: Default: |
Common to All mosadm Commands
| Option | Description |
|---|---|
| Name of the MATLAB
Online Server
Specify
Example:
Default:
|
| Name of the MATLAB
Online Server
Specify
Example:
Default:
|
| Print out the commands that would have run without this option specified but do not run the operation. Specify this option to test that the operation produces the expected results before actually executing it. |
| Output help for mosadm install-matlab to
the command line. |
| Path to the Kubernetes® cluster configuration file. Specify
Example:
By
default,
|
| MATLAB
Online Server root folder, specified as an
absolute path or a path relative to the current
folder, that is, the folder in which you can run
Default: |
| Name of the MATLAB
Online Server
Specify
Example:
Default:
|
| Print only the most useful or relevant output
from the |
--skip-log-file | Skip creating the
|
--skip-prompt, -y | Force acceptance of the terms of use for the
|
--tmp-dir
| Name of MATLAB Online Server temporary folder to use. Specify
By default,
|
--verbose | Output extra details about the
|
Version History
Introduced in R2023a
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)