Some products such as Simulink Real-Time did not have a hyphen its product name in older releases, such as R2017b. This means its product name is Simulink_Real_Time in these older releases. In later releases, the hyphen was added to the product name, then reading as Simulink_Real-Time.
However, MPM does not honor these historical rules. If you attempt to install Simulink Real-Time in R2017b in its correct syntax (without the hyphen), it says the product is unrecognized. This also means that the product will not install with the provided input files that MathWorks has provided in this repository, since they are using the correct syntax for their release and MPM does not recognize this. This means that the affected input files must be manually adjusted to actually install all products for earlier releases. These are the products I'm aware are affected:
Attempt to install Simulink Real Time with the input or by manually entering "Simulink_Real_Time" after --products on Windows for R2017b.
Example outputs
With input file
PS C:\Users\jestzer\AppData\Local\Temp> .\mpm.exe install --inputfile "C:\Users\jestzer\Downloads\mpm_input_r2017b.txt"
WARNING: Uninstalling these products is not supported. To cancel this installation, press CTRL+C.
Installing with the following parameters:
--destination=C:\Program Files\MATLAB\RXXXX
--doc=false
--no-gpu=false
--no-jre=false
--release=R2017b
--products=MATLAB, Simulink, Simulink Real Time
---------------------------------------------
Error: Unrecognized products:
Simulink_Real_Time
PS C:\Users\jestzer\AppData\Local\Temp>
In my second attempt below, you'll notice I change Simulink_Real_Time to Simulink_Real-Time and the product disappears from the "Unrecognized products" list.
Overview
Some products such as Simulink Real-Time did not have a hyphen its product name in older releases, such as R2017b. This means its product name is Simulink_Real_Time in these older releases. In later releases, the hyphen was added to the product name, then reading as Simulink_Real-Time.
However, MPM does not honor these historical rules. If you attempt to install Simulink Real-Time in R2017b in its correct syntax (without the hyphen), it says the product is unrecognized. This also means that the product will not install with the provided input files that MathWorks has provided in this repository, since they are using the correct syntax for their release and MPM does not recognize this. This means that the affected input files must be manually adjusted to actually install all products for earlier releases. These are the products I'm aware are affected:
Reproduction Method
Attempt to install Simulink Real Time with the input or by manually entering "Simulink_Real_Time" after
--products
on Windows for R2017b.Example outputs
With input file
By hand
In my second attempt below, you'll notice I change Simulink_Real_Time to Simulink_Real-Time and the product disappears from the "Unrecognized products" list.