home *** CD-ROM | disk | FTP | other *** search
- function tmp_name = tempname()
- %TEMPNAME Returns a unique name suitable for use as a temporary file
-
- % Marc Ullman 2-8-93
- % Copyright (C) 1984-93 by The MathWorks, Inc.
-
- t = fix(clock);
-
- tmp_name = [tempdir sprintf('tp%02.0f%02.0f%02.0f', t(4), t(5), t(6))];
-