Main Content

Testing Failures

After you have successfully compiled your application, the next step is to test it on a development machine and deploy it on a target machine. Typically, the target machine does not have a MATLAB® installation and requires MATLAB Runtime to be installed. A distribution includes all of the files that are required by your application to run, which include the executable, deployable archive, and MATLAB Runtime.

Test the application on the development machine by running the application against the MATLAB Runtime shipped with MATLAB Compiler™. This will verify that library dependencies are correct, that the deployable archive can be extracted, and that all MATLAB code, MEX—files and support files required by the application have been included in the archive. If you encounter errors testing your application, the following questions may help you isolate the problem.

 Are you able to execute the application from MATLAB?

 Does the application begin execution and result in MATLAB or other errors?

 Do you have multiple MATLAB versions installed?

 If you are testing a standalone executable or shared library and driver application, did you install MATLAB Runtime?

 Do you receive an error message about a missing DLL?

 Does your system’s graphics card support the graphics application?

 Is OpenGL properly installed on your system?