Path: news.mathworks.com!not-for-mail
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$1@newscl01ah.mathworks.com>
References: <kj0jon$9ec$1@newscl01ah.mathworks.com> <kj2v6h$om4$1@newscl01ah.mathworks.com> <kj4ot1$eaj$1@newscl01ah.mathworks.com> <kj4t1a$rpn$1@newscl01ah.mathworks.com> <kj72ds$1dh$1@newscl01ah.mathworks.com> <kj7j6c$f0i$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-02-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1364681286 27117 172.30.248.47 (30 Mar 2013 22:08:06 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 30 Mar 2013 22:08:06 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2264149
Xref: news.mathworks.com comp.soft-sys.matlab:792333

"Yair Altman" wrote in message <kj7j6c$f0i$1@newscl01ah.mathworks.com>...
> "Nicholas" wrote in message <kj72ds$1dh$1@newscl01ah.mathworks.com>...
> [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: http://UndocumentedMatlab.com/blog/undocumented-profiler-options-part-4/
> 
> Yair Altman 
> http://UndocumentedMatlab.com 
>  

That's really useful Yair.  Thanks!