Deployed Applications
Checking access to X display <IP-address>:0.0 . . . If no response hit ^C and fix host or access control to host. Otherwise, checkout any error messages that follow and fix . . . Successful. . . . This message can be ignored.
??? Error: File: /home/username/<MATLAB
file_name>Line: 1651 Column: 8 Arguments to IMPORT must either end with ".*" or
else specify a fully qualified class name: "<class_name>" fails this
test. The import statement is referencing a Java® class (<class_name>) that MATLAB®
Compiler SDK™ (if the error occurs at compile time) or MATLAB Runtime (if the error occurs at run time) cannot find. To work around this,
ensure that the JAR file that contains the Java class is stored in a folder that is on the Java class path. (See
for the class path.) If the error occurs at run time, the classpath is stored in
matlabroot/toolbox/local/classpath.txt
when running on the development machine. It is stored in
matlabroot/toolbox/local/classpath.txt
when running on a target machine.<MATLAB_RUNTIME_INSTALL_DIR>/toolbox/local/classpath.txt
Undefined function or variable 'matlabrc'. When MATLAB or the MATLAB Runtime starts, they attempt to execute the MATLAB file matlabrc.m. This message means that this file
cannot be found. To work around this, try each of these suggestions in this order:
Ensure that your application runs in MATLAB (uncompiled) without this error.
Ensure that MATLAB starts up without this error.
Verify that the generated deployable archive contains a file called
matlabrc.m.Verify that the generated code (in the
*_mcc_component_data.c*file) adds the deployable archive folder containingmatlabrc.mto the MATLAB Runtime path.Delete the
*_mcrfolder and rerun the application.Recompile the application.
Error: library mclmcrrtX_XX.dll not found. This error can occur for the following reasons:
The machine on which you are trying to run the application uses a different, incompatible version of MATLAB Runtime than the one the application was originally built with.
You are not running a version of MATLAB Compiler SDK compatible with the MATLAB Runtime version the application was built with.
To solve this problem, on the deployment machine, install the same version of MATLAB or MATLAB Runtime you used to build the application.
Invalid .NET Framework.\ Either
the specified framework was not found or is not currently supported. This error occurs when the .NET Framework version your application is specifying
(represented by nn) is not supported by the current
version of MATLAB
Compiler SDK.
System.AccessViolationException: Attempted to read or write protected
memory. The
message:
System.ArgumentException: Generate Queries
threw General Exception:
System.AccessViolationException: Attempted to
read or write protected memory.
This is often an indication that other memory is corrupt.MCLMCRRTX_XX.DLL placed
outside matlabroot.