Matlab Compiler R2015b error

Hi,
I am trying to build an executable app using the Matlab Compiler. I wrote a super simple app to test the compile functionality. When trying to build the package I get the following error log:
mcc -C -o pushtis -W WinMain:pushtis -T link:exe -d C:\Users\Jose\Documents\MATLAB\pushtis\for_testing -v C:\Users\Jose\Documents\MATLAB\pushthis.m -a C:\Users\Jose\Documents\MATLAB\pushthis.fig
Compiler version: 6.1 (R2015b)
Dependency analysis by REQUIREMENTS.
Unexpected error while determining required deployable files. Compilation terminated.
mcc failed.
Any hint on whats going on?
Jose

4 Comments

Hi again,
If I copy the 'mcc -C ' line in to the command shell I get also the following:
Error using horzcat
Dimensions of matrices being concatenated are not consistent.
Error in matlab.depfun.internal.Completion/requiredComponents (line 325)
depComp = [depComp{:}];
Error in matlab.depfun.internal.Completion/requiredProducts (line 457)
reqComp = obj.requiredComponents(files);
Error in matlab.depfun.internal.Completion/requirements (line 2271)
products = requiredProducts(obj, list);
Error in matlab.depfun.internal.requirements (line 205)
[parts, resources.products, resources.platforms] = c.requirements();
Error using mcc
Unexpected error while determining required deployable files. Compilation terminated.
Finally,
I cannot run the example at : https://se.mathworks.com/help/compiler/create-and-install-a-standalone-application-from-matlab-code.html
I get the same error. It seems related somehow with my tool installation/setup then?
Going by memory as I cannot find the relevant post:
Someone pointed out recently that some of the tools malfunction if there was a failed installation. My memory is that a symptom of the situation was that
data = ver('matlab')
returned a structure of length 2 (or more) instead of length 1.
I do not seem to find the posting now so I am not sure of the context.
I have the exact same problem. Please help, anyone?

Sign in to comment.

Answers (0)

Categories

Find more on Enterprise Deployment with MATLAB Production Server in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!