I receive "Could not find version 9.11of the MATLAB Runtime" when running my compiled app, my MATLAB Runtime is 9.13. so this specifically need 9.11 to be run?
108 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
2NOR_Kh
le 18 Jan 2023
Réponse apportée : Image Analyst
le 18 Jan 2023
I have a file and I want to open it but it gives me a runtime error. My previous version was 2021a.
I found a similar question on mathwork so I went to this link to check my runtime:
my version is 2022b and this error coresponds to 2021b. So, I should uninstall my current version to a 2021b to fix it? and there is no other way?
but why this cant be run on higher versions?
0 commentaires
Réponse acceptée
Image Analyst
le 18 Jan 2023
You are trying to run a compiled program somebody made with R2021b. It doesn't matter what version you have but if you don't have the MATLAB 2021b development environment program on your computer, then you'll need to install the r2021b (9.11) run time library. You can get all/any run-time libraries here:
You can have multiple development environment versions and multiple run-time library versions on your computer simultaneously. The main thing is that if you are trying to run a compiled standalone program built with some particular version then you must have that same version of the run-time library on your computer, or the development IDE for that version. You don't have either, so to fix, you need to get the 9.11 from the link I gave above.
The reason that the run-time library needs to be matched to the developement version it was compiled with is because sometimes new functions are introduced (and so they won't be in older versions), and sometimes old functions are finally deprecated/removed. So you need a run-time library that has exactly the same set of functions that were in the version the person compiled it with.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur MATLAB Compiler 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!