<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237083</link>
    <title>MATLAB Central Newsreader - profiler tool with GUI file</title>
    <description>Feed for thread: profiler tool with GUI file</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 06 Oct 2008 16:24:03 -0400</pubDate>
      <title>profiler tool with GUI file</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237083#603935</link>
      <author>Dave Brackett</author>
      <description>Hi,&lt;br&gt;
&lt;br&gt;
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.&lt;br&gt;
&lt;br&gt;
How can I use the profiler tool to assess the m file which has the GUI?&lt;br&gt;
&lt;br&gt;
Thanks.</description>
    </item>
    <item>
      <pubDate>Mon, 06 Oct 2008 17:22:03 -0400</pubDate>
      <title>Re: profiler tool with GUI file</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237083#603955</link>
      <author>Malcolm Lidierth</author>
      <description>Does the profiler stop or does your code stop because of a uiwait() in the GUI code?&lt;br&gt;
&lt;br&gt;
If its the code, fill in the GUI and click OK (or whatever label you have). That should issue a uiresume() and start execution again.&lt;br&gt;
&amp;nbsp;</description>
    </item>
    <item>
      <pubDate>Mon, 06 Oct 2008 18:22:02 -0400</pubDate>
      <title>Re: profiler tool with GUI file</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237083#603969</link>
      <author>matt dash</author>
      <description>For profiling guis I find it works best to set up the gui, type &quot;profile on&quot; in the command window, let the gui do whatever you want to profile, and then type &quot;profile viewer&quot; in the command window.</description>
    </item>
    <item>
      <pubDate>Thu, 09 Oct 2008 19:49:01 -0400</pubDate>
      <title>Re: profiler tool with GUI file</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237083#604521</link>
      <author>Dave Brackett</author>
      <description>&quot;matt dash&quot; &amp;lt;n.a@mail.com&amp;gt; wrote in message &amp;lt;gcdl0a$c3f$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; For profiling guis I find it works best to set up the gui, type &quot;profile on&quot; in the command window, let the gui do whatever you want to profile, and then type &quot;profile viewer&quot; in the command window.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
thanks for this tip matt, I didn't know you could access the profile tool in that way.</description>
    </item>
  </channel>
</rss>

