Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: matlab random object
Date: Fri, 11 Jul 2008 15:40:19 +0000 (UTC)
Organization: Universit&#228;tsSpital Z&#252;rich
Lines: 17
Message-ID: <g57ut2$bp8$1@fred.mathworks.com>
References: <g57qt2$s1s$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1215790819 12072 172.30.248.35 (11 Jul 2008 15:40:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 11 Jul 2008 15:40:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 11
Xref: news.mathworks.com comp.soft-sys.matlab:478862



"ching l":
<SNIP wants to randomize the rest of the world...

one of the solutions

% the data
     lst={
          'unique.m'
          'whos.m'
          'figure.m'
     };
% the engine
% - randomly select a file for editing...
     ix=ceil(size(lst,1)*rand);
     edit(lst{ix});

us