Standalone error : Accessible file is now inaccessible and mclFreeStackTrace
Show older comments
I have used matlab 2013b compiler to create a standalone application of my matlab code. I can install the standalone application but when I try to run it, it gives me two errors:
-Previously accessible file [C:\filepathtocode.m] is now inaccessible.
-Error in mclFreeStackTrace
My code is very simple :
function helloworld
figure
title('Hello, World.', 'FontSize', 12, 'FontWeight', 'Bold');
end
Here is a step-by-step of what lead me to this problem. To create the exe, I use deploytool into Application Compiler. I chose my main file and chose to have the run time downloaded form the web. Once its packaged, I run the installation successfully, but it always show me those two errors. What is causing this?
EDIT: I tried to install it on another computer and I only get the error about the mclFreeStackTrace. Also I have double checked that MCR version 8 is installed.
2 Comments
Walter Roberson
on 7 Dec 2015
The C:\%filepathtocode.m -- is that literal, complete with the % character?
Louis-Daniel Théroux
on 7 Dec 2015
Accepted Answer
More Answers (1)
Louis-Daniel Théroux
on 16 Dec 2015
0 votes
Categories
Find more on Standalone Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!