Skip to content

Commit a23f70d

Browse files
mw-wtrippprabhakk-mw
authored andcommitted
MPM2024.3: mpm download --inputfile and --platforms
1 parent def69f2 commit a23f70d

16 files changed

+538
-327
lines changed

MPM.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ If you encounter a technical issue or have an enhancement request, create an iss
2121

2222
## Changelog
2323

24+
### 2024.3 - October 2, 2024
25+
- **Added**: Use the `--inputfile` option of `mpm download` downloads products by specifying options in an input file. Using this file, you can select the products and support packages you want to download without having to enter them at the command line.
26+
- **Added**: Use the `--platforms` option of `mpm download` to download products for multiple platforms. Previously, `mpm download` downloaded products only for the platform of the computer performing the download.
27+
2428
### 2024.2.2 - August 14, 2024
2529
- **Security:** Patched CVE-2023-45853.
2630

@@ -30,11 +34,12 @@ If you encounter a technical issue or have an enhancement request, create an iss
3034
### 2024.2 - July 17, 2024
3135
- **Added**: Use `mpm download` to download products and support packages without installing them.
3236
- **Added**: Install support packages that were downloaded using `mpm download`.
33-
- **Added**: Support for installing IEC Certification Kit, DO Qualification Kit, and Simulink Code Inspector from a downloaded archive.
37+
- **Added**: Support for installing IEC Certification Kit, DO Qualification Kit, and Simulink Code Inspector from a mounted ISO image. For an example, see [Install Products from Mounted ISO Image](https://www.mathworks.com/help/install/ug/mpminstall.html#mw_3a3793a5-4576-464b-adf9-24c714709e6c).
3438
- **Changed**: `mpm` now omits installing products that are already installed instead of issuing an error.
3539

3640
### 2024.1.1 - March 27, 2024
3741
- **Added:** Specify the `--no-jre` option that allows you to skip installing the default Java Runtime Environment (JRE) used by MATLAB and set a custom JRE instead. For information on which JREs are supported, see [Versions of OpenJDK Compatible with MATLAB by Release](https://www.mathworks.com/support/requirements/openjdk.html) on the MathWorks website.
42+
- **Changed:** Versioning changed from YYYY.MM.MINOR.MICRO to YYYY.MINOR.MICRO [Calendar Versioning](https://calver.org/).
3843

3944
### 2023.12.1 - December 14, 2023
4045
- **Added:** Support for Windows

mpm-input-files/R2017b/mpm_input_r2017b.txt

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,54 @@
11
########################################################################
2-
## Configuration File for Installing R2017b MathWorks Products
2+
## Configuration File for Installing or Downloading R2017b MathWorks Products
33
########################################################################
44
##
5-
## Use this file to configure an installation of MathWorks products
6-
## from the command line using the MATLAB Package Manager (mpm).
7-
## For example, you can set the products you want to install
8-
## and the folder where you want to install them.
5+
## Use this file to configure the installation or download of MathWorks
6+
## products from the command line using the MATLAB Package Manager (mpm).
97
##
10-
## To configure your MATLAB installation:
8+
## To configure your MATLAB installation or download:
119
##
1210
## 1. Set configuration parameters by uncommenting lines that
1311
## start with a single '#' and updating the values. The
1412
## comments above each parameter describe the valid values.
1513
##
1614
## 2. Run mpm from the command line, using the --inputfile option
1715
## to specify the full path to this configuration file.
18-
##
16+
##
17+
## Install products:
1918
## mpm install --inputfile <full_path_to_this_file>
2019
##
20+
## Download products without installing:
21+
## mpm download --inputfile <full_path_to_this_file>
22+
##
2123
## You can download template input files for all supported releases from
2224
## https://github.com/mathworks-ref-arch/matlab-dockerfile/blob/main/MPM.md
2325
##
2426
########################################################################
2527

2628

2729
########################################################################
28-
## SPECIFY DESTINATION FOLDER
30+
## INSTALLATION OR DOWNLOAD FOLDER
2931
########################################################################
3032
##
31-
## Specify the full path to the folder where you want to install MATLAB.
32-
## If you are adding products to an existing MATLAB installation, specify
33-
## the full path to the folder where MATLAB is installed.
33+
## When installing products using 'mpm install':
34+
##
35+
## Specify the full path to the folder where you want to install the
36+
## products. When adding products to an existing MATLAB installation,
37+
## specify the full path to the folder where MATLAB is installed.
38+
##
39+
## Example:
40+
## (Linux) destinationFolder=/usr/local/MATLAB/RXXXX
41+
## (Windows) destinationFolder=C:\Program Files\MATLAB\RXXXX
42+
## (Mac) destinationFolder=/Applications/MATLAB_RXXXX.app
43+
##
44+
## When downloading products using 'mpm download':
45+
##
46+
## Specify the full path to the folder where you want to download the
47+
## products. For 'mpm download', this option is required.
3448
##
35-
## Example:
36-
## (Windows) destinationFolder=C:\Program Files\MATLAB\RXXXX
37-
## (Linux) destinationFolder=/usr/local/MATLAB/RXXXX
38-
## (macOS) destinationFolder=/Applications/MATLAB_RXXXX.app
49+
## Example:
50+
## (Linux/Mac) destinationFolder=/home/<USER>/downloads/mathworks
51+
## (Windows) destinationFolder=C:\Users\<USER>\Downloads\MathWorks
3952
##
4053
## Set the desired value for destinationFolder and
4154
## uncomment the following line.
@@ -44,10 +57,10 @@
4457

4558

4659
########################################################################
47-
## INSTALL PRODUCTS
60+
## PRODUCTS
4861
########################################################################
4962
##
50-
## Uncomment the lines for the products you want to install.
63+
## Uncomment the lines for the products you want to install or download.
5164

5265
#product.Aerospace_Blockset
5366
#product.Aerospace_Toolbox

mpm-input-files/R2018a/mpm_input_r2018a.txt

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,54 @@
11
########################################################################
2-
## Configuration File for Installing R2018a MathWorks Products
2+
## Configuration File for Installing or Downloading R2018a MathWorks Products
33
########################################################################
44
##
5-
## Use this file to configure an installation of MathWorks products
6-
## from the command line using the MATLAB Package Manager (mpm).
7-
## For example, you can set the products you want to install
8-
## and the folder where you want to install them.
5+
## Use this file to configure the installation or download of MathWorks
6+
## products from the command line using the MATLAB Package Manager (mpm).
97
##
10-
## To configure your MATLAB installation:
8+
## To configure your MATLAB installation or download:
119
##
1210
## 1. Set configuration parameters by uncommenting lines that
1311
## start with a single '#' and updating the values. The
1412
## comments above each parameter describe the valid values.
1513
##
1614
## 2. Run mpm from the command line, using the --inputfile option
1715
## to specify the full path to this configuration file.
18-
##
16+
##
17+
## Install products:
1918
## mpm install --inputfile <full_path_to_this_file>
2019
##
20+
## Download products without installing:
21+
## mpm download --inputfile <full_path_to_this_file>
22+
##
2123
## You can download template input files for all supported releases from
2224
## https://github.com/mathworks-ref-arch/matlab-dockerfile/blob/main/MPM.md
2325
##
2426
########################################################################
2527

2628

2729
########################################################################
28-
## SPECIFY DESTINATION FOLDER
30+
## INSTALLATION OR DOWNLOAD FOLDER
2931
########################################################################
3032
##
31-
## Specify the full path to the folder where you want to install MATLAB.
32-
## If you are adding products to an existing MATLAB installation, specify
33-
## the full path to the folder where MATLAB is installed.
33+
## When installing products using 'mpm install':
34+
##
35+
## Specify the full path to the folder where you want to install the
36+
## products. When adding products to an existing MATLAB installation,
37+
## specify the full path to the folder where MATLAB is installed.
38+
##
39+
## Example:
40+
## (Linux) destinationFolder=/usr/local/MATLAB/RXXXX
41+
## (Windows) destinationFolder=C:\Program Files\MATLAB\RXXXX
42+
## (Mac) destinationFolder=/Applications/MATLAB_RXXXX.app
43+
##
44+
## When downloading products using 'mpm download':
45+
##
46+
## Specify the full path to the folder where you want to download the
47+
## products. For 'mpm download', this option is required.
3448
##
35-
## Example:
36-
## (Windows) destinationFolder=C:\Program Files\MATLAB\RXXXX
37-
## (Linux) destinationFolder=/usr/local/MATLAB/RXXXX
38-
## (macOS) destinationFolder=/Applications/MATLAB_RXXXX.app
49+
## Example:
50+
## (Linux/Mac) destinationFolder=/home/<USER>/downloads/mathworks
51+
## (Windows) destinationFolder=C:\Users\<USER>\Downloads\MathWorks
3952
##
4053
## Set the desired value for destinationFolder and
4154
## uncomment the following line.
@@ -44,10 +57,10 @@
4457

4558

4659
########################################################################
47-
## INSTALL PRODUCTS
60+
## PRODUCTS
4861
########################################################################
4962
##
50-
## Uncomment the lines for the products you want to install.
63+
## Uncomment the lines for the products you want to install or download.
5164

5265
#product.Aerospace_Blockset
5366
#product.Aerospace_Toolbox

mpm-input-files/R2018b/mpm_input_r2018b.txt

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,54 @@
11
########################################################################
2-
## Configuration File for Installing R2018b MathWorks Products
2+
## Configuration File for Installing or Downloading R2018b MathWorks Products
33
########################################################################
44
##
5-
## Use this file to configure an installation of MathWorks products
6-
## from the command line using the MATLAB Package Manager (mpm).
7-
## For example, you can set the products you want to install
8-
## and the folder where you want to install them.
5+
## Use this file to configure the installation or download of MathWorks
6+
## products from the command line using the MATLAB Package Manager (mpm).
97
##
10-
## To configure your MATLAB installation:
8+
## To configure your MATLAB installation or download:
119
##
1210
## 1. Set configuration parameters by uncommenting lines that
1311
## start with a single '#' and updating the values. The
1412
## comments above each parameter describe the valid values.
1513
##
1614
## 2. Run mpm from the command line, using the --inputfile option
1715
## to specify the full path to this configuration file.
18-
##
16+
##
17+
## Install products:
1918
## mpm install --inputfile <full_path_to_this_file>
2019
##
20+
## Download products without installing:
21+
## mpm download --inputfile <full_path_to_this_file>
22+
##
2123
## You can download template input files for all supported releases from
2224
## https://github.com/mathworks-ref-arch/matlab-dockerfile/blob/main/MPM.md
2325
##
2426
########################################################################
2527

2628

2729
########################################################################
28-
## SPECIFY DESTINATION FOLDER
30+
## INSTALLATION OR DOWNLOAD FOLDER
2931
########################################################################
3032
##
31-
## Specify the full path to the folder where you want to install MATLAB.
32-
## If you are adding products to an existing MATLAB installation, specify
33-
## the full path to the folder where MATLAB is installed.
33+
## When installing products using 'mpm install':
34+
##
35+
## Specify the full path to the folder where you want to install the
36+
## products. When adding products to an existing MATLAB installation,
37+
## specify the full path to the folder where MATLAB is installed.
38+
##
39+
## Example:
40+
## (Linux) destinationFolder=/usr/local/MATLAB/RXXXX
41+
## (Windows) destinationFolder=C:\Program Files\MATLAB\RXXXX
42+
## (Mac) destinationFolder=/Applications/MATLAB_RXXXX.app
43+
##
44+
## When downloading products using 'mpm download':
45+
##
46+
## Specify the full path to the folder where you want to download the
47+
## products. For 'mpm download', this option is required.
3448
##
35-
## Example:
36-
## (Windows) destinationFolder=C:\Program Files\MATLAB\RXXXX
37-
## (Linux) destinationFolder=/usr/local/MATLAB/RXXXX
38-
## (macOS) destinationFolder=/Applications/MATLAB_RXXXX.app
49+
## Example:
50+
## (Linux/Mac) destinationFolder=/home/<USER>/downloads/mathworks
51+
## (Windows) destinationFolder=C:\Users\<USER>\Downloads\MathWorks
3952
##
4053
## Set the desired value for destinationFolder and
4154
## uncomment the following line.
@@ -44,10 +57,10 @@
4457

4558

4659
########################################################################
47-
## INSTALL PRODUCTS
60+
## PRODUCTS
4861
########################################################################
4962
##
50-
## Uncomment the lines for the products you want to install.
63+
## Uncomment the lines for the products you want to install or download.
5164

5265
#product.5G_Toolbox
5366
#product.Aerospace_Blockset

mpm-input-files/R2019a/mpm_input_r2019a.txt

Lines changed: 34 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,55 @@
11
########################################################################
2-
## Configuration File for Installing R2019a MathWorks Products
2+
## Configuration File for Installing or Downloading R2019a MathWorks Products
33
########################################################################
44
##
5-
## Use this file to configure an installation of MathWorks products
6-
## and support packages from the command line using the
7-
## MATLAB Package Manager (mpm). For example, you can set the
8-
## products and support packages you want to install and the
9-
## folder where you want to install them.
5+
## Use this file to configure the installation or download of MathWorks
6+
## products and support packages from the command line using the
7+
## MATLAB Package Manager (mpm).
108
##
11-
## To configure your MATLAB installation:
9+
## To configure your MATLAB installation or download:
1210
##
1311
## 1. Set configuration parameters by uncommenting lines that
1412
## start with a single '#' and updating the values. The
1513
## comments above each parameter describe the valid values.
1614
##
1715
## 2. Run mpm from the command line, using the --inputfile option
1816
## to specify the full path to this configuration file.
19-
##
17+
##
18+
## Install products:
2019
## mpm install --inputfile <full_path_to_this_file>
2120
##
21+
## Download products without installing:
22+
## mpm download --inputfile <full_path_to_this_file>
23+
##
2224
## You can download template input files for all supported releases from
2325
## https://github.com/mathworks-ref-arch/matlab-dockerfile/blob/main/MPM.md
2426
##
2527
########################################################################
2628

27-
2829
########################################################################
29-
## SPECIFY DESTINATION FOLDER
30+
## INSTALLATION OR DOWNLOAD FOLDER
3031
########################################################################
3132
##
32-
## Specify the full path to the folder where you want to install MATLAB.
33-
## If you are adding products or support packages to an existing MATLAB
34-
## installation, specify the full path to the folder where MATLAB is installed.
33+
## When installing products using 'mpm install':
34+
##
35+
## Specify the full path to the folder where you want to install the
36+
## products. When adding products or support packages to an
37+
## existing MATLAB installation, specify the full path to the folder
38+
## where MATLAB is installed.
39+
##
40+
## Example:
41+
## (Linux) destinationFolder=/usr/local/MATLAB/RXXXX
42+
## (Windows) destinationFolder=C:\Program Files\MATLAB\RXXXX
43+
## (Mac) destinationFolder=/Applications/MATLAB_RXXXX.app
44+
##
45+
## When downloading products using 'mpm download':
46+
##
47+
## Specify the full path to the folder where you want to download the
48+
## products. For 'mpm download', this option is required.
3549
##
36-
## Example:
37-
## (Windows) destinationFolder=C:\Program Files\MATLAB\RXXXX
38-
## (Linux) destinationFolder=/usr/local/MATLAB/RXXXX
39-
## (macOS) destinationFolder=/Applications/MATLAB_RXXXX.app
50+
## Example:
51+
## (Linux/Mac) destinationFolder=/home/<USER>/downloads/mathworks
52+
## (Windows) destinationFolder=C:\Users\<USER>\Downloads\MathWorks
4053
##
4154
## Set the desired value for destinationFolder and
4255
## uncomment the following line.
@@ -45,10 +58,10 @@
4558

4659

4760
########################################################################
48-
## INSTALL PRODUCTS
61+
## PRODUCTS
4962
########################################################################
5063
##
51-
## Uncomment the lines for the products you want to install.
64+
## Uncomment the lines for the products you want to install or download.
5265

5366
#product.5G_Toolbox
5467
#product.AUTOSAR_Blockset
@@ -149,10 +162,10 @@
149162

150163

151164
########################################################################
152-
## INSTALL SUPPORT PACKAGES
165+
## SUPPORT PACKAGES
153166
########################################################################
154167
##
155-
## Uncomment the lines for the support packages you want to install.
168+
## Uncomment the lines for the support packages you want to install or download.
156169

157170
#product._GPU_Coder_Support_Package_for_NVIDIA_GPUs_
158171
#product.Aerospace_Blockset_CubeSat_Simulation_Library

0 commit comments

Comments
 (0)