Using the C Math Library | ![]() ![]() |
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:
The ordinal #### could not be located in the dynamic-link library dforrt.dll.
To fix this problem, locate the files named dforrt.dll
or dformd.dll
in your Windows system directory and replace them with the versions of these 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; however, they can replace the versions of these files in the Windows system directory with the versions they find in <MGLRUNTIMELIBRARY>\bin\win32
directory, where <MGLRUNTIMELIBRARY>
is the name of the directory in which they installed the MATLAB Math and Graphics Run-Time Libraries. See Distributing Stand-Alone Applications for more information.
![]() | Distributing Stand-Alone Applications | Building Shared Libraries | ![]() |