MATLAB Compiler    

Problem Starting Stand-Alone Application

Your application may compile successfully but fail when you or one of your customers tries to start it. If you run the application from a DOS command window, you or one of your customers may see an error message such as:

To fix this problem, locate dforrt.dll or dformd.dll in your Windows system directory and replace them with the corresponding files in the <MATLAB>\bin\win32 directory, where <MATLAB> represents the name of your MATLAB installation directory.

This same solution works for customers of your application who encounter the same problem. Your customers can replace these files in the Windows system directory with the corresponding versions in the <MGLRUNTIMELIBRARY>\bin\win32 directory, where <MGLRUNTIMELIBRARY> is the name of the directory in which they installed the MATLAB Compiler Run-Time Libraries.


  Distributing Stand-Alone Applications Building Shared Libraries