Skip to content

Commit a26fd31

Browse files
mw-wtrippPrabhakar Kumar
authored andcommitted
Adds input files for R2024a, R2017b, R2018a, R2018b and removes updateLevel specification from releases older than R2021b.
fixes #87
1 parent bfdcc47 commit a26fd31

File tree

10 files changed

+863
-84
lines changed

10 files changed

+863
-84
lines changed

MPM.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ Give the downloaded file executable permissions so that you can run `mpm`.
6262

6363
| Option | Description |
6464
| ------ | ----------- |
65-
`--release <release>` | <p>Release to install.</p><ul><li>To install the latest version of a release, specify the release name. Example: `R2023b`</li><li>To install a specific update release, specify the release name with an update number suffix. Example: `R2023bU4`</li><li>To install a release without updates, specify the release name with an update 0 or general release suffix. Example: `R2023bU0`, `R2023bGR`</li></ul><p>**Example**: `--release R2023b`</p>
65+
`--release <release>` | <p>Release to install.</p><ul><li>To install the latest version of a release, specify the release name. Example: `R2024a`</li><li>To install a specific update release, specify the release name with an update number suffix. Example: `R2024aU4`</li><li>To install a release without updates, specify the release name with an update 0 or general release suffix. Example: `R2024aU0`, `R2024aGR`</li></ul><p>**Example**: `--release R2024a`</p>
6666
`--products <product1 ... productN>` | <p>Products to install, specified as a list of product names separated by spaces.</p><p>`mpm` can install most MathWorks products and support packages. For the full list of correctly formatted product names, download the template input file for your desired release from the [mpm-input-files](mpm-input-files) folder and view the product and support package lists.</p><p>You do not need to specify all required products. If a product or support package requires another product to be installed, `mpm` installs it automatically.</p><p>For information on products `mpm` cannot install, see [Limitations](#limitations).</p><p>**Example:** `--products MATLAB Simulink Fixed-Point_Designer` installs MATLAB, Simulink, and Fixed-Point Designer.</p><p>**Example:** `--products Deep_Learning_Toolbox` installs Deep Learning Toolbox and also installs its required product, MATLAB, automatically.</p>
67-
`--inputfile </full/path/to/file>` | <p>Full path to the input file used to install products.</p><p>Download a template input file for your desired release from the [mpm-input-files](mpm-input-files) folder and customize it for your installation. For example, you can specify the products and support packages to install and the desired installation folder.</p><p>You must specify `--inputfile` without any other options.</p><p>**Example:** `--inputfile /home/<USER>/matlab/mpm_input_r2023b.txt`</p>
67+
`--inputfile </full/path/to/file>` | <p>Full path to the input file used to install products.</p><p>Download a template input file for your desired release from the [mpm-input-files](mpm-input-files) folder and customize it for your installation. For example, you can specify the products and support packages to install and the desired installation folder.</p><p>You must specify `--inputfile` without any other options.</p><p>**Example:** `--inputfile /home/<USER>/matlab/mpm_input_r2024a.txt`</p>
6868
`--destination </full/path/to/destination>` | <p>Full path to the installation destination folder.</p><p>If you are adding products or support packages to an existing MATLAB installation, specify the full path to where MATLAB is installed. `mpm` determines the folder to which to install support packages based on the MATLAB installation folder.</p><p>If you do not set `--destination`, then `mpm` installs to these locations by default, where `<release>` is the specified `--release` option.</p><p>**Linux:** `/usr/share/matlab`</p><p>**Windows:** `C:\Program Files\MATLAB\<release>`<ul><li>If the Windows machine already includes a MATLAB installation for the specified release, then `mpm` uses the installation folder of that MATLAB release as the default destination.</li></ul></p><p>**macOS:** `/Applications/MATLAB/<release>`</p>
6969
`--source </full/path/to/source>` | <p>Full path to the installation source. You can specify one of these sources:</p><ul><li>**Downloaded product files.** For more details, see [Download Products Without Installing](https://www.mathworks.com/help/install/ug/download-without-installing.html). *(R2018b and later releases)*</li><li>**An ISO or DMG image.** You can download images from [MathWorks Downloads](https://www.mathworks.com/downloads). *(R2021b and later releases)*</li></ul><p>If you do not set `--source`, then `mpm` downloads the the product files from MathWorks.</p>
7070
`--doc` | <p>Flag to install documentation and examples. *(R2022b and earlier releases)*</p><p>To install the documentation in R2023a and later, see [Install Documentation](#install-documentation).</p>
@@ -95,37 +95,37 @@ Give the downloaded file executable permissions so that you can run `mpm`.
9595

9696
### Install Products to Default Folder
9797

98-
Install MATLAB R2023b, Simulink, and Signal Processing Toolbox™ to the default folder. Navigate to the folder containing the `mpm` binary file and run this command.
98+
Install MATLAB R2024a, Simulink, and Signal Processing Toolbox™ to the default folder. Navigate to the folder containing the `mpm` binary file and run this command.
9999

100100
* Linux or macOS:
101101

102-
./mpm install --release=R2023b --products MATLAB Simulink Signal_Processing_Toolbox
102+
./mpm install --release=R2024a --products MATLAB Simulink Signal_Processing_Toolbox
103103
* Windows *(run as administrator)*:
104104

105-
.\mpm.exe install --release=R2023b --products MATLAB Simulink Signal_Processing_Toolbox
105+
.\mpm.exe install --release=R2024a --products MATLAB Simulink Signal_Processing_Toolbox
106106

107107

108108
You can install additional products later. For example, add Robotics System Toolbox™ to the MATLAB installation.
109109

110110
* Linux or macOS:
111111

112-
./mpm install --release=R2023b --products Robotics_System_Toolbox
112+
./mpm install --release=R2024a --products Robotics_System_Toolbox
113113

114114
* Windows *(run as administrator)*:
115115

116-
.\mpm.exe install --release=R2023b --products Robotics_System_Toolbox
116+
.\mpm.exe install --release=R2024a --products Robotics_System_Toolbox
117117

118118
### Install Products Using Optional Command-Line Inputs
119119

120-
Install MATLAB R2023b and specify the installation destination folder. Also install Parallel Computing Toolbox but without the GPU libraries.
120+
Install MATLAB R2024a and specify the installation destination folder. Also install Parallel Computing Toolbox but without the GPU libraries.
121121

122122
* Linux or macOS:
123123

124-
./mpm install --release=R2023b --destination=/home/<USER>/matlab --products MATLAB Parallel_Computing_Toolbox --no-gpu
124+
./mpm install --release=R2024a --destination=/home/<USER>/matlab --products MATLAB Parallel_Computing_Toolbox --no-gpu
125125

126126
* Windows *(run as administrator)*:
127127

128-
.\mpm.exe install --release=R2023b --destination=\users\<USER>\matlab --products MATLAB Parallel_Computing_Toolbox --no-gpu
128+
.\mpm.exe install --release=R2024a --destination=\users\<USER>\matlab --products MATLAB Parallel_Computing_Toolbox --no-gpu
129129

130130
Download a documentation ISO from [Install Documentation on Offline Machines](https://www.mathworks.com/help/install/ug/install-documentation-on-offline-machines.html) and mount the ISO. Install the documentation and examples, specifying the MATLAB installation folder and the path to the mounted ISO.
131131

@@ -139,9 +139,9 @@ Download a documentation ISO from [Install Documentation on Offline Machines](ht
139139

140140
### Install Products Using Input File
141141

142-
Install products and support packages for MATLAB R2023b by specifying installation options in a file.
142+
Install products and support packages for MATLAB R2024a by specifying installation options in a file.
143143

144-
From the [mpm-input-files](mpm-input-files) folder, open the `R2023b` folder and download the `mpm_input_r2023b.txt` input file.
144+
From the [mpm-input-files](mpm-input-files) folder, open the `R2024a` folder and download the `mpm_input_r2024a.txt` input file.
145145

146146
Open the file. Configure the MATLAB installation by uncommenting lines that start with a single `'#'` and updating their values. Update these sections:
147147

@@ -180,11 +180,11 @@ Install the products and support package.
180180

181181
* Linux or macOS:
182182

183-
./mpm install --inputfile /path/to/file/mpm_input_r2023b.txt
183+
./mpm install --inputfile /path/to/file/mpm_input_r2024a.txt
184184

185185
* Windows *(run as administrator)*:
186186

187-
.\mpm.exe install --inputfile \path\to\file\mpm_input_r2023b.txt
187+
.\mpm.exe install --inputfile \path\to\file\mpm_input_r2024a.txt
188188

189189
## Limitations
190190

@@ -216,6 +216,8 @@ Install the products and support package.
216216

217217
To install these support packages within MATLAB, see [Get and Manage Add-Ons](https://www.mathworks.com/help/matlab/matlab_env/get-add-ons.html).
218218

219+
- `mpm` supports installing specific update releases only for R2021b and later. For R2021a and earlier, `mpm` always installs the latest update release.
220+
219221
- On Windows, uninstalling products that were installed using `mpm` is not supported.
220222

221223
## Feedback and Support
Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
########################################################################
2+
## Configuration File for Installing R2017b MathWorks Products
3+
########################################################################
4+
##
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.
9+
##
10+
## To configure your MATLAB installation:
11+
##
12+
## 1. Set configuration parameters by uncommenting lines that
13+
## start with a single '#' and updating the values. The
14+
## comments above each parameter describe the valid values.
15+
##
16+
## 2. Run mpm from the command line, using the --inputfile option
17+
## to specify the full path to this configuration file.
18+
##
19+
## mpm install --inputfile <full_path_to_this_file>
20+
##
21+
## You can download template input files for all supported releases from
22+
## https://github.com/mathworks-ref-arch/matlab-dockerfile/blob/main/MPM.md
23+
##
24+
########################################################################
25+
26+
27+
########################################################################
28+
## SPECIFY DESTINATION FOLDER
29+
########################################################################
30+
##
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.
34+
##
35+
## Example:
36+
## (Windows) destinationFolder=C:\Program Files\MATLAB\RXXXX
37+
## (Linux) destinationFolder=/usr/local/RXXXX
38+
## (macOS) destinationFolder=/Applications/MATLAB/RXXXX
39+
##
40+
## Set the desired value for destinationFolder and
41+
## uncomment the following line.
42+
43+
# destinationFolder=
44+
45+
46+
########################################################################
47+
## INSTALL PRODUCTS
48+
########################################################################
49+
##
50+
## Uncomment the lines for the products you want to install.
51+
52+
#product.Aerospace_Blockset
53+
#product.Aerospace_Toolbox
54+
#product.Antenna_Toolbox
55+
#product.Audio_System_Toolbox
56+
#product.Automated_Driving_System_Toolbox
57+
#product.Bioinformatics_Toolbox
58+
#product.Communications_System_Toolbox
59+
#product.Computer_Vision_System_Toolbox
60+
#product.Control_System_Toolbox
61+
#product.Curve_Fitting_Toolbox
62+
#product.DSP_System_Toolbox
63+
#product.Data_Acquisition_Toolbox
64+
#product.Database_Toolbox
65+
#product.Datafeed_Toolbox
66+
#product.Econometrics_Toolbox
67+
#product.Embedded_Coder
68+
#product.Filter_Design_HDL_Coder
69+
#product.Financial_Instruments_Toolbox
70+
#product.Financial_Toolbox
71+
#product.Fixed_Point_Designer
72+
#product.Fuzzy_Logic_Toolbox
73+
#product.GPU_Coder
74+
#product.Global_Optimization_Toolbox
75+
#product.HDL_Coder
76+
#product.HDL_Verifier
77+
#product.Image_Acquisition_Toolbox
78+
#product.Image_Processing_Toolbox
79+
#product.Instrument_Control_Toolbox
80+
#product.LTE_HDL_Toolbox
81+
#product.LTE_System_Toolbox
82+
#product.MATLAB
83+
#product.MATLAB_Coder
84+
#product.MATLAB_Compiler
85+
#product.MATLAB_Compiler_SDK
86+
#product.MATLAB_Distributed_Computing_Server
87+
#product.MATLAB_Production_Server
88+
#product.MATLAB_Report_Generator
89+
#product.Mapping_Toolbox
90+
#product.Model_Predictive_Control_Toolbox
91+
#product.Model_Based_Calibration_Toolbox
92+
#product.Neural_Network_Toolbox
93+
#product.OPC_Toolbox
94+
#product.Optimization_Toolbox
95+
#product.Parallel_Computing_Toolbox
96+
#product.Partial_Differential_Equation_Toolbox
97+
#product.Phased_Array_System_Toolbox
98+
#product.Polyspace_Bug_Finder
99+
#product.Polyspace_Code_Prover
100+
#product.Powertrain_Blockset
101+
#product.RF_Blockset
102+
#product.RF_Toolbox
103+
#product.Risk_Management_Toolbox
104+
#product.Robotics_System_Toolbox
105+
#product.Robust_Control_Toolbox
106+
#product.Signal_Processing_Toolbox
107+
#product.SimBiology
108+
#product.SimEvents
109+
#product.Simscape
110+
#product.Simscape_Driveline
111+
#product.Simscape_Electronics
112+
#product.Simscape_Fluids
113+
#product.Simscape_Multibody
114+
#product.Simscape_Power_Systems
115+
#product.Simulink
116+
#product.Simulink_3D_Animation
117+
#product.Simulink_Check
118+
#product.Simulink_Coder
119+
#product.Simulink_Control_Design
120+
#product.Simulink_Coverage
121+
#product.Simulink_Design_Optimization
122+
#product.Simulink_Design_Verifier
123+
#product.Simulink_Desktop_Real_Time
124+
#product.Simulink_PLC_Coder
125+
#product.Simulink_Real_Time
126+
#product.Simulink_Report_Generator
127+
#product.Simulink_Requirements
128+
#product.Simulink_Test
129+
#product.Spreadsheet_Link
130+
#product.Stateflow
131+
#product.Statistics_and_Machine_Learning_Toolbox
132+
#product.Symbolic_Math_Toolbox
133+
#product.System_Identification_Toolbox
134+
#product.Text_Analytics_Toolbox
135+
#product.Trading_Toolbox
136+
#product.Vehicle_Network_Toolbox
137+
#product.Vision_HDL_Toolbox
138+
#product.WLAN_System_Toolbox
139+
#product.Wavelet_Toolbox
140+
141+
142+
########################################################################
143+
## CHECKSUM
144+
########################################################################
145+
##
146+
## NOTE: DO NOT edit this field. MathWorks uses this field to
147+
## check the integrity of the input file. Changing the value
148+
## of the checksum field invalidates this input file.
149+
150+
?checksum=UjIwMTdi
Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
########################################################################
2+
## Configuration File for Installing R2018a MathWorks Products
3+
########################################################################
4+
##
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.
9+
##
10+
## To configure your MATLAB installation:
11+
##
12+
## 1. Set configuration parameters by uncommenting lines that
13+
## start with a single '#' and updating the values. The
14+
## comments above each parameter describe the valid values.
15+
##
16+
## 2. Run mpm from the command line, using the --inputfile option
17+
## to specify the full path to this configuration file.
18+
##
19+
## mpm install --inputfile <full_path_to_this_file>
20+
##
21+
## You can download template input files for all supported releases from
22+
## https://github.com/mathworks-ref-arch/matlab-dockerfile/blob/main/MPM.md
23+
##
24+
########################################################################
25+
26+
27+
########################################################################
28+
## SPECIFY DESTINATION FOLDER
29+
########################################################################
30+
##
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.
34+
##
35+
## Example:
36+
## (Windows) destinationFolder=C:\Program Files\MATLAB\RXXXX
37+
## (Linux) destinationFolder=/usr/local/RXXXX
38+
## (macOS) destinationFolder=/Applications/MATLAB/RXXXX
39+
##
40+
## Set the desired value for destinationFolder and
41+
## uncomment the following line.
42+
43+
# destinationFolder=
44+
45+
46+
########################################################################
47+
## INSTALL PRODUCTS
48+
########################################################################
49+
##
50+
## Uncomment the lines for the products you want to install.
51+
52+
#product.Aerospace_Blockset
53+
#product.Aerospace_Toolbox
54+
#product.Antenna_Toolbox
55+
#product.Audio_System_Toolbox
56+
#product.Automated_Driving_System_Toolbox
57+
#product.Bioinformatics_Toolbox
58+
#product.Communications_System_Toolbox
59+
#product.Computer_Vision_System_Toolbox
60+
#product.Control_System_Toolbox
61+
#product.Curve_Fitting_Toolbox
62+
#product.DSP_System_Toolbox
63+
#product.Data_Acquisition_Toolbox
64+
#product.Database_Toolbox
65+
#product.Datafeed_Toolbox
66+
#product.Econometrics_Toolbox
67+
#product.Embedded_Coder
68+
#product.Filter_Design_HDL_Coder
69+
#product.Financial_Instruments_Toolbox
70+
#product.Financial_Toolbox
71+
#product.Fixed_Point_Designer
72+
#product.Fuzzy_Logic_Toolbox
73+
#product.GPU_Coder
74+
#product.Global_Optimization_Toolbox
75+
#product.HDL_Coder
76+
#product.HDL_Verifier
77+
#product.Image_Acquisition_Toolbox
78+
#product.Image_Processing_Toolbox
79+
#product.Instrument_Control_Toolbox
80+
#product.LTE_HDL_Toolbox
81+
#product.LTE_System_Toolbox
82+
#product.MATLAB
83+
#product.MATLAB_Coder
84+
#product.MATLAB_Compiler
85+
#product.MATLAB_Compiler_SDK
86+
#product.MATLAB_Distributed_Computing_Server
87+
#product.MATLAB_Production_Server
88+
#product.MATLAB_Report_Generator
89+
#product.Mapping_Toolbox
90+
#product.Model_Predictive_Control_Toolbox
91+
#product.Model_Based_Calibration_Toolbox
92+
#product.Neural_Network_Toolbox
93+
#product.OPC_Toolbox
94+
#product.Optimization_Toolbox
95+
#product.Parallel_Computing_Toolbox
96+
#product.Partial_Differential_Equation_Toolbox
97+
#product.Phased_Array_System_Toolbox
98+
#product.Polyspace_Bug_Finder
99+
#product.Polyspace_Code_Prover
100+
#product.Powertrain_Blockset
101+
#product.Predictive_Maintenance_Toolbox
102+
#product.RF_Blockset
103+
#product.RF_Toolbox
104+
#product.Risk_Management_Toolbox
105+
#product.Robotics_System_Toolbox
106+
#product.Robust_Control_Toolbox
107+
#product.Signal_Processing_Toolbox
108+
#product.SimBiology
109+
#product.SimEvents
110+
#product.Simscape
111+
#product.Simscape_Driveline
112+
#product.Simscape_Electronics
113+
#product.Simscape_Fluids
114+
#product.Simscape_Multibody
115+
#product.Simscape_Power_Systems
116+
#product.Simulink
117+
#product.Simulink_3D_Animation
118+
#product.Simulink_Check
119+
#product.Simulink_Coder
120+
#product.Simulink_Control_Design
121+
#product.Simulink_Coverage
122+
#product.Simulink_Design_Optimization
123+
#product.Simulink_Design_Verifier
124+
#product.Simulink_Desktop_Real_Time
125+
#product.Simulink_PLC_Coder
126+
#product.Simulink_Real_Time
127+
#product.Simulink_Report_Generator
128+
#product.Simulink_Requirements
129+
#product.Simulink_Test
130+
#product.Spreadsheet_Link
131+
#product.Stateflow
132+
#product.Statistics_and_Machine_Learning_Toolbox
133+
#product.Symbolic_Math_Toolbox
134+
#product.System_Identification_Toolbox
135+
#product.Text_Analytics_Toolbox
136+
#product.Trading_Toolbox
137+
#product.Vehicle_Dynamics_Blockset
138+
#product.Vehicle_Network_Toolbox
139+
#product.Vision_HDL_Toolbox
140+
#product.WLAN_System_Toolbox
141+
#product.Wavelet_Toolbox
142+
143+
144+
########################################################################
145+
## CHECKSUM
146+
########################################################################
147+
##
148+
## NOTE: DO NOT edit this field. MathWorks uses this field to
149+
## check the integrity of the input file. Changing the value
150+
## of the checksum field invalidates this input file.
151+
152+
?checksum=UjIwMThh

0 commit comments

Comments
 (0)