From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: randn repeating itself
Date: Sat, 30 Mar 2013 22:08:06 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 19
Message-ID: <kj7no5$qfd$>
References: <kj0jon$9ec$> <kj2v6h$om4$> <kj4ot1$eaj$> <kj4t1a$rpn$> <kj72ds$1dh$> <kj7j6c$f0i$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1364681286 27117 (30 Mar 2013 22:08:06 GMT)
NNTP-Posting-Date: Sat, 30 Mar 2013 22:08:06 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2264149
Xref: comp.soft-sys.matlab:792333

"Yair Altman" wrote in message <kj7j6c$f0i$>...
> "Nicholas" wrote in message <kj72ds$1dh$>...
> [snip]
> > Does anyone know if it's possible to search through all of the called functions to see if and where a rand('state',0)-like command has been executed? I tried using Profiler, but rand didn't turn up in the function list of the Profile summary.
> Matlab's Profiler doesn't normally show built-in functions like rand(), unless you explicitly ask for it:
> profile -detail builtin on
> ...
> profile off; profile report
> More:
> Yair Altman 

That's really useful Yair.  Thanks!