This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Compilation Failures

You typically compile your MATLAB® code on a development machine, test the resulting executable on that machine, and deploy the executable and MATLAB Runtime to a test or customer machine without MATLAB. The compilation process performs dependency analysis on your MATLAB code, creates an encrypted archive of your code and required toolbox code, generates wrapper code, and compiles the wrapper code into an executable. If your application fails to build an executable, the following questions may help you isolate the problem.

 Is your installed compiler supported by MATLAB Compiler SDK?

 Are error messages produced at compile time?

 Are you compiling within or outside of MATLAB?

 Have you tried to compile any of the C/C++ examples in MATLAB Compiler SDK help?

 Is your MATLAB object failing to load?

 If you are compiling a driver application, are you using mbuild?

 Are you trying to compile your driver application using Microsoft Visual Studio or another IDE?

 Are you importing the correct versions of import libraries?

 Are you able to compile the matrixdriver example?

 Do you get the MATLAB:I18n:InconsistentLocale Warning?

Was this topic helpful?