How do I verify the integrity of a download from MathWorks.com?

31 Ansichten (letzte 30 Tage)
I have downloaded the ISO image/ installer/ update packages for installation and I want to check the file's checksum to verify the integrity of the file. How can I get the file's checksum?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 21 Mär. 2024
Bearbeitet: MathWorks Support Team am 21 Mär. 2024
The checksum is a sequence of numbers and letters that you can use to check that your copy of a downloaded file is identical to the original. If the checksum does not match what is displayed on the website, the file may have been corrupted or tampered with and a new version should be downloaded.
When downloading a file from https://www.mathworks.com/downloads/, for R2024a and newer the SHA256 checksum is displayed, for R2023b and older the MD5 checksum is displayed.
The following command-line utilities can be used to calculate the checksum of the given file. Change the file name (in italics) as applicable.

For R2024a and newer downloads:

  • Windows: Open Command Prompt and run the following command. Make sure to put "SHA256" in capital letters. 
    CertUtil -hashfile matlab_R2024a_Windows.exe SHA256
  • Linux: Open a terminal and run the following command.
    sha256sum matlab_R2024a_Linux.zip
  • macOS: Open a Terminal and run the following command.
    shasum -a 256 matlab_R2024a_macOSAppleSilicon.dmg

For R2023b and older downloads:

  • Windows: Open Command Prompt and run the following command. Make sure to put "MD5" in capital letters.
    CertUtil -hashfile R2018b_win64_dvd1.iso MD5
  • Linux: Open a terminal and run the following command.
    md5sum R2018b_glanxa64_dvd1.iso
  • macOS: Open a Terminal and run the following command.
    md5sum matlab_R2018b_maci64.dmg
It may take a few minutes for the commands to calculate the checksum.
Only a License Administrator can download the ISO and view the hash of them on MathWorks.com.
 
  1 Kommentar
Andres
Andres am 10 Jul. 2025
Do you also provide checksums for the large offline documentation files? We could not find them here https://www.mathworks.com/help/releases/R2025a/install/ug/install-documentation-on-offline-machines.html
I recently had a checksum error with an offline installation file after an internal file transfer.
Is there any reason not to make the checksums of these files publicly available, rather than just for license administrators during download?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Downloads finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by