Hello, I recently upgraded R2016b to R2017b on my Linux machine. However, when I try to use the matlab compiler from the "apps" tab on the home screen, the compiler fails, with this message in the log file:
mcc -o FODforPRT2 -W main:FODforPRT2 -T link:exe -d /home/neilley/opt/matlab/src/misc/FODforPRT2/for_testing -v /home/neilley/opt/matlab/src/misc/FODforPRT2.m
Compiler version: 6.5 (R2017b)
Dependency analysis by REQUIREMENTS.
{Undefined function or variable
'matlabshared.supportpkg.internal.getSupportPackageRootNoCreate'.}
Unable to locate support package root__
However, if I run the "mcc" command from that log file from a linux shell, the compiler runs to completion without error and produces an executable file, but that executable file won't run because it can't find some of the dependent functions that it needs that are elsewhere in my matlab source code path (that is, the compiler failed to include these dependent functions during compiling).
Any idea what's going on here?
0 Comments
Sign in to comment.