| MATLAB® Compiler™ | ![]() |
Failed to decrypt file. The M-file "<ctf_root>\toolbox\compiler\deploy\matlabrc.m"
cannot be executed. The application is trying to use a
CTF archive that does not belong to it. Applications and CTF archives
are tied together at compilation time by a unique cryptographic key,
which is recorded in both the application and the CTF archive. The
keys must match at run time. If they don't match, you will get this
error.
To work around this, delete
the *_mcr directory corresponding to the CTF archive
and then rerun the application. If the same failure occurs, you will
likely need to recompile the application using the MATLAB® Compiler™ product
and copy both the application binary and the CTF archive into the
installation directory.
This application has requested the run time to terminate in
an unusual way. This indicates a segmentation fault or
other fatal error. There are too many possible causes for this message
to list them all.
To try to resolve
this problem, run the application in the debugger and try to get a
stack trace or locate the line on which the error occurs. Fix the
offending code, or, if the error occurs in a MathWorks™ library
or generated code, contact MathWorks technical support.
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/<M-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 the MATLAB Compiler product
(if the error occurs at compile time) or the MCR (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 directory that is on the Java class path. (See matlabroot/toolbox/local/classpath.txt 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 <mcr_root>/toolbox/local/classpath.txt when running
on a target machine.
Warning: Unable to find Java library:
matlabroot\sys\java\jre\win32\jre<version>\bin\client\jvm.dll
Warning: Disabling Java support. This
warning indicates that a compiled application could not find the Java virtual
machine, and therefore, the compiled application cannot run any Java code.
This will affect your ability to display graphics.
To resolve this, ensure that jvm.dll is in the matlabroot\sys\java\jre\win32\jre<version>\bin\client directory and that this directory is on your system path.
Warning: matlabroot\toolbox\local\pathdef.m not found.
Toolbox Path Cache is not being used. Type 'help toolbox_path_cache'
for more info. The pathdef.m file
defines the MATLAB® startup path. The MATLAB Compiler product
does not include this file in the generated CTF archive because the
MCR path is a subset of the full MATLAB path.
This message can be ignored.
Undefined function or variable 'matlabrc'. When MATLAB or
the MCR starts, they attempt to execute the M-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 CTF archive contains a file called matlabrc.m.
Verify that the generated code (in the *_mcc_component_data.c* file) adds the CTF archive directory containing matlabrc.m to the MCR path.
Delete the *_mcr directory and rerun the application.
Recompile the application.
This MATLAB file does not have proper version information and
may be corrupt. Please delete the extraction directory and rerun
the application. The M-file <M-file> cannot be executed. MATLAB:err_parse_cannot_run_m_file. This message is an indication that the MCR has found nonencrypted
M-files on its path and has attempted to execute them. This error
is often caused by the use of addpath, either explicitly
in your application, or implicitly in a startup.m file. If you use addpath in a compiled application,
you must ensure that the added directories contain only data files.
(They cannot contain M-files, or you'll get this error.)
To work around this, protect your calls to addpath with the isdeployed function.
This application has failed to start because mclmcrrt7x.dll
was not found. Re-installing the application may fix this problem. mclmcrrt7x.dll contains the public interface
to the MCR. This library must be present on all machines that run
applications generated by the MATLAB Compiler product. Typically,
this means that either the MCR is not installed on this machine, or
that the PATH does not contain the directory where this DLL is located.
To work around this, install the
MCR or modify the path appropriately. The path must contain <mcr_root>/<version>/runtime/<arch>,
for example: c:\mcr\v73\runtime\win32.
Linker cannot find library and fails to create standalone application (win32 and win64). If you try building your standalone application without mbuild, you must link to the following dynamic library:
mclmcrrt.lib
This library is found in one of the following locations, depending on your architecture:
matlabroot\extern\lib\win32\arch matlabroot\extern\lib\win64\arch
where arch is microsoft, watcom, or lcc.
Version 'GCC_4.2.0' not found. When running on Linux® platforms, users may report that a run time error occurs that states that the GCC_4.2.0 library is not found by applications built with the MATLAB Compiler product.
To resolve this error, do the following:
Navigate to matlabroot/sys/os/glnx86.
Rename the following files with a prefix of old_:
libgcc_s.so.1
libstdc++.so.6.0.8
libgfortran.so.1.0.0
For example, rename libgcc_s.so.1 to old_libgcc_s.so.1. Note that you must rename all three of the above files. Alternately, you can create a subdirectory named old and move the files there.
Error: library mclmcrrt76.dll not found. This error can occur for the following reasons:
The machine on which you are trying to run the application an different, incompatible version of the MCR installed on it than the one the application was originally built with.
You are not running a version of MATLAB Compiler compatible with the MCR version the application was built with.
To solve this problem, on the deployment machine, install the version of MATLAB you used to build the application.
Invalid .NET framework.\n Either the specified framework was not found or is not currently supported. This error occurs when the .NET framework version your application is specifying is not supported by the current version of MATLAB Compiler.
![]() | The MATLAB® Compiler™ Product | Reference Information | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |