deploytool & encryption

5 views (last 30 days)
Matthias Höller
Matthias Höller on 13 Mar 2011
Hi,
I have a relatively large software package which I would like to compile into a standalone application. With deploytool I managed to do that. However, I have one problem. During execution of the software, I need to parse some of the .m files that belong to the package.
In deployed mode, however, I can't do that because all the .m files are somehow encrypted.
Is there a way to avoid encryption? If not, is there another way to do this?
TIA, Matthias Hoeller

Accepted Answer

Walter Roberson
Walter Roberson on 13 Mar 2011
Include those files twice, once using the option to add the file to the CTF archive:
http://www.mathworks.com/help/toolbox/compiler/mcc.html
  1 Comment
Matthias Höller
Matthias Höller on 13 Mar 2011
Worked like a charm. I did play around with this before but didn't get it right in the first place. But now everything works fine. Thanks!

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Compiler 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!