What can be the reasons that mcc command does not generate wrapper file while creats exe file?
조회 수: 3 (최근 30일)
이전 댓글 표시
I am trying to use mcc command to compile my code, although Matlab recognizes Microsoft Windows SDK 7.1 as compiler and generates the exe file, it does not create any script file. How can I fix this?
Thanks,
댓글 수: 0
답변 (2개)
Titus Edelhofer
2015년 5월 7일
Hi Hoda,
if it creates the .exe what other script are you expecting? Can you start the executable?
Titus
댓글 수: 0
Hoda
2015년 5월 7일
댓글 수: 1
Titus Edelhofer
2015년 5월 7일
Hi Hoda,
"run_mycode.sh" sounds like you want to run the executable on a Linux box? That's not possible, you have to compile on the same platform. For running the executable on another (Windows) machine take a look at the section "deploy to others" in the documentation. Depending on the version of MATLAB you are using it's basically running the MatlabCompilerRuntime installer once on the target machine. This you find in matlab\toolbox\compiler\deploy\win64 ...
Titus
참고 항목
카테고리
Help Center 및 File Exchange에서 C Shared Library Integration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!