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 MathWorks 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 Latest Version of MATLAB
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-matlab
Install MATLAB with Specified Options
Install MATLAB
R2024b and Database Toolbox™ into the /usr/local/MATLAB
folder of your local
machine.
./mosadm install-matlab --matlab-root /usr/local/MATLAB --matlab-version R2024b --products "MATLAB Database_Toolbox"
Input Arguments
option1 ... optionN
— One or more configuration options
strings
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
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- 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)