Test standalone application

1 回表示 (過去 30 日間)
Hu Zhou
Hu Zhou 2011 年 8 月 19 日
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.

採用された回答

Image Analyst
Image Analyst 2011 年 8 月 19 日
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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTesting Frameworks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by