- 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
How can I determine if MATLAB or MATLAB Runtime are installed?
167 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 3 Jan 2019
Modifié(e) : MathWorks Support Team
le 16 Juin 2025
How can I determine if MATLAB or MATLAB Runtime are installed?
Réponse acceptée
MathWorks Support Team
le 9 Mai 2025
Modifié(e) : MathWorks Support Team
le 16 Juin 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.
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:
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!