about mcc compiler ,i really need help!!

조회 수: 1 (최근 30일)
tony kevine
tony kevine 2015년 5월 20일
편집: Walter Roberson 2015년 5월 20일
i Already set up "mbuild -setup" and "mex -setup" but if run my example. i want to do exe file
%-------------
function y=add(a,b)
a=3;
b=4;
y=sqrt(a^2+b^2)
end
%---------------
the command windows will show the error messages:
Error: An error occurred while shelling out to mbuild (error code = 1).
Unable to build executable (specify the -v option for more information).
??? Error using ==> mcc
Error executing mcc, return status = 1.
  댓글 수: 1
Abhiram Bhanuprakash
Abhiram Bhanuprakash 2015년 5월 20일
Can you execute the mcc command with the -v flag? It would give the verbose packaging log. Can you also share the 'PackagingLog.txt', which would have been created in the project folder where the folders like 'forRedistribution' are located?

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by