Test standalone application

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Testing Frameworks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by