Starting with R2022b, you can use the extract_product_files_from_iso.exe command line tool to extract a subset of MathWorks products from an ISO image on Windows and Linux.
1) Locate the product file extraction script
Mount your ISO Image and navigate to the following location:
Windows
<mounted-ISO>\bin\win64\extract_product_files_from_iso.exe
Linux
<mounted-ISO>/bin/glnxa64/extract_product_files_from_iso
If you need instructions on mounting your ISO Image, refer to the
article for platform-specific instructions.
2) Run the extract_product_file_from_iso script
The extract_product_file_from_iso has four arguments:
- -h [ --help ]
- This is an optional argument that displays a help menu.
- -s [ --source ]
- Full path to the mounted ISO Image.
- -d [ --dest ]
- Full path to the destination. If the location is a pre-existing folder, the folder must be empty. If the folder does not exist, the extractor will create the folder.
- -p [ --products ]
- The list of products you would like to extract. The script uses the product name list at the bottom of the installer_input.txt, which is in the main directory of your mounted ISO Image. Separate each product with a space.
- The products are case-sensitive and should match the product listed in the installer_input.txt exactly.
Example usage:
Windows
1) Open the Command Prompt:
- Press the Windows key to launch the Start menu.
- Type 'cmd' into the search box.
- Open the Command Prompt.
2) Sample script:
>D:\bin\win64\extract_product_files_from_iso.exe --source D:\ --dest C:\TEMP\Extracted_Files --products MATLAB Deep_Learning_Toolbox
Linux
1) Launch Terminal.
2) Sample Script:
$'/media/username/R2022b_ISO/bin/glnxa64/extract_product_files_from_iso' -s '/media/username/R2022b_ISO' -d /home/username/R2022b_Extracted_Files -p MATLAB Deep_Learning_Toolbox
Please note: the product extractor does not verify that product dependencies are met. Verify that you extract the required products along with your desired product by visiting the Add-On Product Requirement page here.