Test standalone application

1 view (last 30 days)
Hu Zhou
Hu Zhou on 19 Aug 2011
I built a standalone application on a 32-bit XP computer using R2010a and Visual Studio 2008. The executable runs OK on the buiding computer.
I tested the executable on another computer, 64-bit Windows 7, in the command window. It starts ask for dlls from a pup up window. And a message comes on the command window says:
MATLAB:I18n:LocaleDatabaseNotFound - Cannot find the MATLAB locale database. The MATLAB process default locale is set to "en_US.US-ASCII". My Own Exception: Fatal error loading library F:\mclmcr.dll Error: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
I copied from the building computer those dlls to the directory of the excutable. Finally the pop up window no longer appears. But the command window message continues and the executable did not run through.
What should I do at this point? Thanks.

Accepted Answer

Image Analyst
Image Analyst on 19 Aug 2011
Well the executable is not where you probably think it is. The real executable is not where your app's .exe is. See the FAQ for things to try: http://matlab.wikia.com/wiki/FAQ#My_standalone_executable_won.27t_run_on_the_target_computer._What_can_I_try.3F

More Answers (0)

Categories

Find more on Testing Frameworks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!