Problem with compilation and deployment - warning_message_prefix

1 次查看(过去 30 天)
HI all, I'm using a "compiler" and "deployment" tool for the compilation of a small package. It seems everything is ok with the compiler (SDK 7.1) and with the Matlab software (v.2014a), however if I try to deploy any simple script I get an error message. As an example, my log:
mcc -W lib:test -T link:lib -d C:\Users\Lorenzo\Documents\MATLAB\test\for_testing -v C:\Users\Lorenzo\Documents\MATLAB\eliminazeri.m class{Class1:C:\Users\Lorenzo\Documents\MATLAB\eliminazeri.m} -a C:\Users\Lorenzo\Documents\MATLAB\eliminazeri.m
Compiler version: 5.1 (R2014a)
Dependency analysis by REQUIREMENTS.
Message Key warning_message_prefix was not found in the catalog MATLAB:matrix
Error using mcc
Error executing mcc, return status = 1 (0x1).
As you can see, the error status does not give any precise indication, and the main problem seems to be "warning_message_prefix was not found in the catalog MATLAB:matrix". To be honest, I cannot find any similar string on Matlab Answers. Any ideas?! Best,
Lorenzo

回答(2 个)

Madhura Suresh
Madhura Suresh 2014-6-16
Hi Lorenzo,
Does the compilation of a simple exe work? Can you paste the entire build log from deploytool or the verbose output of mcc?

Lorenzo Berzi
Lorenzo Berzi 2014-6-16
Hi Madhura, now I'm not able to compile any simple exe. Please consider I'm not really expert..where do you think I could find the full log? I guess that the text I pasted is already the log file. If a try to compile a very simple script:
mcc -v -W lib:test -T link:lib -d C:\Users\Lorenzo\Documents\MATLAB\test\for_testing -v C:\Users\Lorenzo\Documents\MATLAB\eliminazeri.m class{Class1:C:\Users\Lorenzo\Documents\MATLAB\saveamat.m} -a C:\Users\Lorenzo\Documents\MATLAB\saveamat.m
Compiler version: 5.1 (R2014a)
Dependency analysis by REQUIREMENTS.
Message Key warning_message_prefix was not found in the catalog MATLAB:matrix
I guess the problem is in the -W lib:test phase
Thanks for any response! I contacted mathworks assistance but still did not get any response.

类别

Help CenterFile Exchange 中查找有关 Standalone Applications 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by