Why am I not able to start my standalone application from Windows Explorer on my 64-bit machine?

1 view (last 30 days)
I have a developed a standalone application with 64-bit MATLAB Compiler. When I try to start the standalone application from Windows Explorer it will not start and I receive error dialogs containing the following information:
MyGUI.exe has stopped working.
Windows is collection more information about the problem.
This might take several minutes.
Do you want to send more information about the problem?
Additional details about what went wrong can help Microsoft create a solution.
I have compiled the same application with 32-bit MATLAB Compiler, on the same machine, and then there is no problem to start the standalone application from Windows Explorer.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 18 Oct 2013
If both 32-bit and 64-bit MATLAB/MATLAB Compiler is installed on the machine this issue can occur when a 64-bit standalone application attempts to run against 32-bit MATLAB (or MCR).
You should look at the system path environment variable and verify that 64-bit MATLAB proceeds 32-bit MATLAB on the path when you want to run your 64-bit standalone application.
Use the following Windows command prompt command to display the system path environment variable:
echo %PATH%

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products


Release

R2012a

Community Treasure Hunt

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

Start Hunting!