필터 지우기
필터 지우기

Problem with compilation and deployment - warning_message_prefix

조회 수: 1 (최근 30일)
Lorenzo Berzi
Lorenzo Berzi 2014년 6월 10일
답변: Lorenzo Berzi 2014년 6월 16일
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
  댓글 수: 1
Kaustubha Govind
Kaustubha Govind 2014년 6월 10일
Lorenzo: I would recommend contacting Tech Support if you don't receive a response here.

댓글을 달려면 로그인하십시오.

답변 (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에서 C Shared Library Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by