Info

This question is closed. Reopen it to edit or answer.

R2012b Production Server Compiling CTF is failing with Undefined function 'isKey' for input arguments of type 'double'

1 view (last 30 days)
I am trying to compile a CTF to use with Production Server with this command
mcc -W CTF:EntryGateway -U -d C:\RMAStudio\EntryGateway\for_testing -v C:\Working\Source\RMAStudio\trunk\compiled\sdk\net\Configuration.m C:\Working\Source\RMAStudio\trunk\compiled\sdk\net\EntryGateway.m –a [bunch of included files]
Here is the error I am getting this error:
Undefined function 'isKey' for input arguments of type 'double'.
Error in matlab.depfun.internal.cacheWhich (line 23)
if isKey(whichCache, name)
Error in matlab.depfun.internal.Completion/PickOutUserFiles (line 1415)
w = cacheWhich(files{i});
Error in
matlab.depfun.internal.Completion/buildInspector/@(files)PickOutUserFiles(obj,files)
Error in matlab.depfun.internal.MatlabInspector/isMatlabFile (line 225)
userFile = obj.pickUserFiles(filename);
Error in matlab.depfun.internal.MatlabInspector/evaluateSymbols (line 344)
if isempty(strfind(pathlist{k},'built-in')) &&
isMatlabFile(obj, pathlist(k))
Error in matlab.depfun.internal.MatlabInspector/analyzeSymbols (line 187)
evaluateSymbols(obj, S, F, symbol);
Error in matlab.depfun.internal.Completion/findDependentFiles (line 1103)
analyzeSymbols(inspector, symbol);
Error in matlab.depfun.internal.Completion/computeDependencies (line 234)
findDependentFiles(obj);
Error in matlab.depfun.internal.Completion/computePartsList (line 1656)
computeDependencies(obj);
Error in matlab.depfun.internal.Completion/requirements (line 1978)
parts = computePartsList(obj, false);
Error in matlab.depfun.internal.requirements (line 193) [parts, resources.products, resources.platforms] = c.requirements();
Unexpected error while determining required deployable files. Compilation terminated.
Error using mcc Error executing mcc, return status = 1 (0x1).
Any suggestions on why I am getting this error?
Bill

Answers (1)

bill
bill on 21 Nov 2014
After reviewing this, the code compiles and runs in R2012b so it looks to be a version change issue and related to our code.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!