User`s guide

8 Troubleshooting
Ensure that your application runs in MATLAB (uncompiled) without this
error.
Ensur e that MATLAB starts up without this error.
Ve rify that th e generated CTF a rch ive contains a file c alle d
matlabrc.m.
Verify that the generated code (in the
*_mcc_component_data.c* file) add s
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 d irectory and rerun
theapplication. TheM-file<M-file>cannotbeexecuted.
MATLAB:e rr_p arse _cannot_run_m_file. This me ssa ge is an indi cation 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
explicitl y in your application, or implicitly in a
startup.m file. If you use
addpath in a co mpiled appli cation, 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 applic ation has fa ile d to start because m c lm crrt7x.dll
was not found. Re-instal ling the applic a tion m ay fix this
problem.
mclmcrrt7x.dll contains the public interface to the
MCR. This library must be present on all machines that run
applications g en e ra ted by MATLAB Compiler. Typica lly, 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>/run time/<arch>,for
example:
c:\mcr\v73\run time\win 32.
8-10