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 commentaires

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.
Jose Manuel Caballero
Jose Manuel Caballero le 19 Mai 2016
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.
Josefin Starkhammar
Josefin Starkhammar le 6 Juil 2017
I have the exact same problem. Please help, anyone?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Enterprise Deployment with MATLAB Production Server dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by