Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: profiler tool with GUI file
Date: Mon, 6 Oct 2008 16:24:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 7
Message-ID: <gcde33$rih$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1223310243 28241 172.30.248.37 (6 Oct 2008 16:24:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 6 Oct 2008 16:24:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1338633
Xref: news.mathworks.com comp.soft-sys.matlab:493853


Hi,

I have a GUI which controls an m file. After some user interaction to change settings, the function runs for some time. I want to profile the code to identify areas for improvement, but when i use the profiler tool to run the m file with the GUI, it starts profiling but stops almost immediately once the GUI loads.

How can I use the profiler tool to assess the m file which has the GUI?

Thanks.