How can I obtain a single installation package for MATLAB with the ISOs (Merge the ISO Images)?

98 次查看(过去 30 天)

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2022-11-10
The MATLAB ISO archive doubles as an offline installer for MATLAB. Instead of burning the ISO archive, it is possible to extract it using 7zip to create an offline installer. For MATLAB R2016b thru R2018b, you need to merge the two ISO archives into a single extracted folder before proceeding.
Download the ISO archives
See How do I download a MATLAB ISO archive? for instructions on download the MATLAB ISO archive. You must be a license administrator to download the MATLAB ISO archives. Contact your license administrator for assistance with obtaining the ISO archive if you are not a license administrator.
Creating an offline installer (R2016b thru R2018b)
Windows
As or R2016b the MATLAB installer is split across two ISO archives. As a result you must merge the two ISO archives together to obtain a complete set off offline installation files.
An application which can extract ISO archives directly to folders such as 7zip is required for this procedure. Download and install an application like 7zip before proceeding.7zip
Once you have installed an application like 7zip and downloaded the ISO archives:
  1. Right click on “R20XXx_win64_dvd1.iso” and go to the 7zip context menu.
  2. From the 7zip context menu, select Extract to “R20XXx_win64_dvd1\”
  3. Wait for 7zip to finish extracting the ISO archive. This may take a few minutes depending on how fast your computer is.
  4. Right click on “R20XXx_win64_dvd2.iso” and select Extract files…
  5. If the checkbox beneath the “Extract to:” field is checked, uncheck it.
  6. In the upper right corner of 7Zip’s extract dialog box, click the button with the three dots
  7. Browse to and select the “R20XXx_win64_dvd1” folder that you created in step 2.
  8. Click “OK” to begin extracting DVD 2. Wait for 7zip to finish extracting the second ISO archive.
To confirm that the folder you created contains products from both DVDs, ensure that the folder contains both the “.dvd1” and “.dvd2” files. If the “.dvd2” file is not present then DVD 2 was not extracted to the root of the folder that DVD 1 was extracted to. (If this is case, the checkbox beneath the “Extract to:” field in step 6 was probably not unchecked.)
Launch “setup.exe” to start the MATLAB installer. Alternatively, you can rename and recompress the “R20XXx_win64_dvd1” folder if you need to move it to an offline machine.
Mac
If you are using a Mac, this procedure is not necessary. Instead of downloading the .iso file, download the .dmg file, which contains all files from both DVDs.If you do want the ISOs, click on "Need to burn Mac DVDs?" under the DMG download link and it will allow you to download the ISOs for Mac.

Linux

On Linux, you can mount an ISO archive if you create a mount point for it. 
  1. Create1 folder to put the combined folders inmkdir /media/mathworks/dvd1mkdir /media/mathworks/dvd2mkdir /media/mathworks/installer
  2. Mount the ISO to that folder. In this example, the ISO’s are called “DVD1.iso” and “DVD2.iso” and are located in the user’s home folder under Downloads.mount -t iso9660 -o loop ~/downloads/DVD1.iso /media/mathworks/dvd1mount -t iso9660 -o loop ~/downloads/DVD2.iso /media/mathworks/dvd2
  3. Navigate to the mount point and copy the files to the extract directorycp -r /media/mathworks/dvd1/* /media/mathworks/installercp -r /media/mathworks/dvd2/* /media/mathworks/installer
  4. Navigate to the installer directory and run the installer scriptcd /media/mathworks/installer./install
Creating an offline installer (R2016a and earlier)
For R2008b through R2016a, the full MATLAB installer fits on a single ISO archive. To extract this archive to a folder:
Windows
  1. Right click on “R20XXx_winXX.iso” and go to the 7zip context menu.
  2. From the 7zip context menu, select Extract to “R20XXx_winXX\”
  3. Wait for 7zip to finish extracting the ISO archive. This may take a few minutes depending on how fast your computer is.
Launch “setup.exe” to start the MATLAB installer. Alternatively, you can rename and recompress the “R20XXx_winXX” folder if you need to move it to an offline machine.
Mac
If you are using a Mac, this procedure is not necessary. Instead of downloading the .iso file, download the .dmg file, which contains all files from the DVD.If you do want the ISO, click on "Need to burn Mac DVDs?" under the DMG download link and it will allow you to download the ISOs for Mac.

Linux

On Linux, you can mount an ISO archive if you create a mount point for it. This procedure may vary depending on your Linux distribution and configuration, however the following steps should work for most Red Hat and Debian-based distributions.
1. Create a folder to use as a mount point.
    mkdir /media/mathworks
2. Mount the ISO to that folder. In this example, the ISO is called “matlab.iso” and is located in the user’s home folder under Downloads:
    mount -t iso9660 -o loop ~/downloads/matlab.iso /media/mathworks3. Navigate to the mount point:    cd /media/mathworks4. Run the installer script:   ./install
Perform an offline installation
See How can I install MATLAB or other MathWorks products on an offline machine?  for detailed instructions on this procedure.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

尚未输入任何标签。

产品


版本

R2016b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by