From: Andy on
clock can also easily be overloaded. My point earlier that you should use clock without wrapping it in builtin is that overloading clock is somewhat more likely to have consequences in other MATLAB files. You could also use both clock and builtin('clock') (that is, check for one or the other) so that the user would have to overload both to get through your time bomb. The point isn't to make it more secure. The point is to make it more trouble than it's worth to get around it.
From: Giovanni Ughi on
"Sean " <sean.dewolski(a)nospamplease.umit.maine.edu> wrote in message <i2v5lh$1ao$1(a)fred.mathworks.com>...
> "Giovanni Ughi" <giovanni.ughi(a)gmail.com> wrote in message <i2v52r$njt$1(a)fred.mathworks.com>...
> > why you said: "just moved to the recycle bin, pretty useless"
> >
> > in my case (winXP and Matlab 2009b) when the file is deleted from matlab is just deleted, I do not have anything in the recycle bin.
> >
> > It may depend on the system settings? (in my case also on different pc it is the same)
>
> Point taken; on my Macintosh with 2009b it just moves it to the trash. I'd still say overwriting it would be more secure.

And, how you can overwrite a p-file?
From: Steve Amphlett on
"Giovanni Ughi" <giovanni.ughi(a)gmail.com> wrote in message <i36bqh$l79$1(a)fred.mathworks.com>...
> "Sean " <sean.dewolski(a)nospamplease.umit.maine.edu> wrote in message <i2v5lh$1ao$1(a)fred.mathworks.com>...
> > "Giovanni Ughi" <giovanni.ughi(a)gmail.com> wrote in message <i2v52r$njt$1(a)fred.mathworks.com>...
> > > why you said: "just moved to the recycle bin, pretty useless"
> > >
> > > in my case (winXP and Matlab 2009b) when the file is deleted from matlab is just deleted, I do not have anything in the recycle bin.
> > >
> > > It may depend on the system settings? (in my case also on different pc it is the same)
> >
> > Point taken; on my Macintosh with 2009b it just moves it to the trash. I'd still say overwriting it would be more secure.
>
> And, how you can overwrite a p-file?

Open it.
Write some garbage to it.
Close it.
From: Giovanni Ughi on
"Steve Amphlett" <Firstname.Lastname(a)Where-I-Work.com> wrote in message <i36d01$59m$1(a)fred.mathworks.com>...
> "Giovanni Ughi" <giovanni.ughi(a)gmail.com> wrote in message <i36bqh$l79$1(a)fred.mathworks.com>...
> > "Sean " <sean.dewolski(a)nospamplease.umit.maine.edu> wrote in message <i2v5lh$1ao$1(a)fred.mathworks.com>...
> > > "Giovanni Ughi" <giovanni.ughi(a)gmail.com> wrote in message <i2v52r$njt$1(a)fred.mathworks.com>...
> > > > why you said: "just moved to the recycle bin, pretty useless"
> > > >
> > > > in my case (winXP and Matlab 2009b) when the file is deleted from matlab is just deleted, I do not have anything in the recycle bin.
> > > >
> > > > It may depend on the system settings? (in my case also on different pc it is the same)
> > >
> > > Point taken; on my Macintosh with 2009b it just moves it to the trash. I'd still say overwriting it would be more secure.
> >
> > And, how you can overwrite a p-file?
>
> Open it.
> Write some garbage to it.
> Close it.

I am talking about p-files (matlab pcode to encrypt a m-file).
As far as I know I cannot open and edit them anymore. Or am I wrong?
From: us on
"Giovanni Ughi"
> I am talking about p-files (matlab pcode to encrypt a m-file).
> As far as I know I cannot open and edit them anymore. Or am I wrong?

in general: yes...
however, look at this recent thread...

http://www.mathworks.com/matlabcentral/newsreader/view_thread/271697#713066

us