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.

Answers (2)

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.
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 Comments

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

Sign in to comment.

Categories

Products

Asked:

on 27 Jan 2014

Commented:

on 27 Mar 2014

Community Treasure Hunt

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

Start Hunting!