Compild application start: Error in mclFreeStackTrace

After compiling MATLAB GUI aplication the .exe, it doesn't work. I get an error "Error in mclFreeStackTrace". Application contains a .ctf file. I use compiler: Microsoft Software Development Kit (SDK) 7.1. What could it be? Is it a error of compiler R2013? At version R2011 works without any issues. Thank you.

답변 (2개)

KimD
KimD 2014년 2월 27일

0 개 추천

Got the same problem running MCR 8.2 R2013b on a Win7 64 bit!
My colleague has created both an exe with the ctf embedded and another exe with the ctf in a separate file (-C compiler option). Both files runs for a sec or two with the rotating circle, then freezes for 5 sec and then show the "Error in mclFreeStackTrace".
We would really appreciate any help/solution!
Thanks.
Fei
Fei 2014년 2월 27일

0 개 추천

I have exactly the same problem ever since yesterday! Everything was working fine and the application was good till the day before. I didn't delete matlab compiler,nor change the system settings whatsoever, but this error occurred almost automatically.
Hope more people can see it. I would really appreciate any help and advice!

댓글 수: 2

Anyone found a solution? I still cannot run any MATLAB GUI aplication.
Can you try the following workarounds?
  1. Try executing the .exe file with admin privileges
  2. Do NOT embed the CTF inside the executable by using -C with mcc
  3. If you have a startup.m file then, put the contents of the startup.m file in an isdeployed conditional and recompile your application:
if ~isdeployed
%startup.m code is here
end

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

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2014년 1월 27일

댓글:

2014년 3월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by