From: per isakson on 12 Aug 2010 22:42 "per isakson" <poi.nospam(a)bimDOTkthDOT.se> wrote in message <i42aaa$ovc$1(a)fred.mathworks.com>... > "us " <us(a)neurol.unizh.ch> wrote in message > > > > But, if I change the windows > ... > > > > > > Quick fix: use builtin('clock') to get the current date and time as a datevec, and compare that to your time bomb date. > > > > well... then the user overloads BUILTIN... > > > > us > > d = evalc( 'system(''date /T'')' ); > > is that any safer? > > / per .... or 1. create a file 2. get the date modified with DIR 3. delete the file (use RECYCLE to avoid displaying the file in the recycle bin) / per
From: Walter Roberson on 12 Aug 2010 23:27
per isakson wrote: > d = evalc( 'system(''date /T'')' ); > is that any safer? Oh yes, sure, that's fine, we recommend that. *giggle*. *snicker*. tee-hee. *snort* |