Matlab Runtime 7.15 (MCR) issue for Window 7
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I got an issue with Matlab Runtime 7.15 on Window 7.
I use Matlab Runtime 7.15 to create one standalone exe file with a Window XP computer, which requires many other input files. This exe file will call one of other three exe files in the same folder depending on conditions. When I install this package into the folder of Program Files (x86) of a Window 7 computer, it will run the standalone exe file, but the program will hang there and never quit when it calls one of the three exe files. However, If I install the package into any of local folder rather than Program Files or Program Files (x86), it works fine. The questions are
What is the reason to cause this issue? Do I need 64 bit MCR to deploy the exe program for Window 7? Can I install the files that are created by XP window into Program Files of Window 7?
0 commentaires
Réponse acceptée
Jason Ross
le 14 Déc 2011
Is/was your Windows XP 32-bit? (I assume yes) Is your Windows 7 64-bit? (I assume yes)
The "Program Files" folder on a 64-bit Windows system is for 64-bit applications. The "Program Files (x86)" directory is for 32-bit applications.
Windows 7 also has "UAC" (User Access Control), which is a security feature designed to make it harder for malware/viruses to infect your computer. This imposes restrictions on what should be going on in the Program Files directories, as well as the Windows system directories. So depending on what your executable files are doing, they may be denied the ability to write in the directory, so if you were expecting that to happen, you are out of luck -- and that would be consistent with it working in other directories.
0 commentaires
Plus de réponses (1)
Jordan
le 20 Mar 2012
I basically have the same problem (although I am not calling other exe applications from the initial one)...my application simply would not successfully initialize even though I installed the MCR and set the environment variable path. Did you ever get this working? If so, what did you have to do?
1 commentaire
Kaustubha Govind
le 20 Mar 2012
Jordan: I think that yours may be an entirely separate issue which warrants a new question.
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!