Re: edit protection
- From: "dip " <mns_sarcar@xxxxxxxxx>
- Date: Tue, 2 Sep 2008 10:51:02 +0000 (UTC)
Thanks
I have two quaries:
I created GUI that has one main GUI and related some other
..fig files (like file1.fig, file2.fig …). All the figure
files have the corresponding .m files (like maingui.m,
file1.m file2.m …). So to create the exe file I use the
command as
mcc –m maingui.m file1.m file2.m …
and it will create maingui.exe and we can work with .exe
file. But at the same time all .m files and .fig files will
be stored in the auto generated folder in the directory:
matlabdirectory\maingui_mcr\maingui.
where the .m files contains the codes. Is there any
possibility to retrieve the original codes from those .m files?
Secondly, I created .p files can be created from .m files.
But I don’t know how to run the .p files. Can you clarify?
Thanks
Walter Roberson <roberson@xxxxxxxxxxxx> wrote in message
<39Krk.208794$gc5.5307@pd7urf2no>...
dip wrote:they will
I want my programs(GUI) cannot be edited by other users.
the editing of the programs should be fully under my
control. How it can be done?
What you did already, compiling to a .exe, achieves that aim.
You are allowed to distribute the .exe to anyone, even if they
do not have matlab. However, in order to run your .exe
have to install some matlab libraries that are about 150megabytes
(independent of how complex your GUI was.)would have
If you are distributing code to people who already have Matlab
installed, then you can use the pcode command to convert your
.m files into .p files that people effectively cannot edit.
Note: if you used GUIDE to create your GUI then GUIDE
created a .fig file describing the details of your GUI,possibly
including some parts of the code itself. That .fig file isreally
a matlab .mat file under a different name, and you cannotuse pcode()
on a .fig file. Thus, if you want to prevent the user fromgetting
at the details of your GUI then you either need to use thecompiler
or you need to pcode code that was *not* built with GUIDE.
--
Q = quotation(rand);
if isempty(Q); error('Quotation server filesystem problems')
else sprintf('%s',Q), end
.
- Follow-Ups:
- Re: edit protection
- From: Walter Roberson
- Re: edit protection
- Prev by Date: Re: Simple
- Next by Date: Re: GUIDE Screen size problem
- Previous by thread: Re: Simple
- Next by thread: Re: edit protection
- Index(es):
Relevant Pages
|