How can I determine if MATLAB or MATLAB Runtime are installed?

177 visualizzazioni (ultimi 30 giorni)

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 9 Mag 2025
Modificato: MathWorks Support Team il 16 Giu 2025
You can determine if MATLAB is installed by using the VersionInfo.xml file. This file is in the MATLAB root directory and will contain the version of MATLAB. The data between the <release> tab is the family (e.g. "R2018b"). The data between the <description> tag is the Update Level and if it's a Prerelease. This information can change between releases.
You can determine if MATLAB Runtime is installed by navigating to the MATLAB Runtime installation directory and checking if you have a folder corresponding to the version of MATLAB Runtime you need. 
The default MATLAB Runtime installation directories are listed below, but users have the option of specifying their own folder location. If you specified an option other than the default, you will have to navigate to this folder for the next step.
  • Windows: C:\Program Files\MATLAB\MATLAB Runtime  (this is for R2015b and later)
  • Windows: C:\Program Files\MATLAB\MATLAB Compiler Runtime (for R2015a and earlier)
  • Linux: /usr/local/MATLAB/MATLAB_Runtime
  • macOS: /Applications/MATLAB/MATLAB_Runtime
If you do not have an installation directory, then you likely do not have MATLAB Runtime installed.
If you do have an installation directory, then you will have to check which versions you have installed. The folders within the installation directory are named after the versions of MATLAB Runtime that are installed, so the folder containing files for MATLAB Runtime R2021b (which is version 9.11) is labeled "v911".     For releases R2022b and later, the folder will be labeled corresponding to its MATLAB Release.
If the installation directory contains a folder named after the version of MATLAB Runtime (or the MATLAB release) you need, then you have it installed.    
All releases of MATLAB Runtime and their corresponding version numbers can be found here: 

Più risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by