<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/242615</link>
    <title>MATLAB Central Newsreader - Preventing errors in order to use other buttons</title>
    <description>Feed for thread: Preventing errors in order to use other buttons</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>Sun, 18 Jan 2009 00:22:02 -0500</pubDate>
      <title>Preventing errors in order to use other buttons</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/242615#622302</link>
      <author>Sertan Kaya</author>
      <description>&amp;nbsp;Dear All,&lt;br&gt;
&lt;br&gt;
I have been doing a gui project in Matlab. In my project, there are several buttons which are engaged with specific tasks. In order to proceed the tasks, you have to click on buttons in a certain orders. Let's say, once you upload the image with &quot;load image&quot; button, you have to go with the next button so that this button can use the global variables from &quot;load image_callback function&quot;. The way I did for this problem is enabled off all buttons except one button which is active at that time. Is there another way or better way to do this thing ? Let's say, once you have a gui, you can not start with any button. If you do that, it will give an error. Is there any way that we can get rid of this error ? &lt;br&gt;
&lt;br&gt;
Thanks for your time and help&lt;br&gt;
Best Regard&lt;br&gt;
Phd Student</description>
    </item>
    <item>
      <pubDate>Sun, 18 Jan 2009 00:55:04 -0500</pubDate>
      <title>Re: Preventing errors in order to use other buttons</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/242615#622305</link>
      <author>Sadik </author>
      <description>&quot;Sertan Kaya&quot; &amp;lt;sertan_kaya@yahoo.com&amp;gt; wrote in message &amp;lt;gktsna$ord$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt;  Dear All,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I have been doing a gui project in Matlab. In my project, there are several buttons which are engaged with specific tasks. In order to proceed the tasks, you have to click on buttons in a certain orders. Let's say, once you upload the image with &quot;load image&quot; button, you have to go with the next button so that this button can use the global variables from &quot;load image_callback function&quot;. The way I did for this problem is enabled off all buttons except one button which is active at that time. Is there another way or better way to do this thing ? Let's say, once you have a gui, you can not start with any button. If you do that, it will give an error. Is there any way that we can get rid of this error ? &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks for your time and help&lt;br&gt;
&amp;gt; Best Regard&lt;br&gt;
&amp;gt; Phd Student&lt;br&gt;
&lt;br&gt;
Dear Sertan,&lt;br&gt;
&lt;br&gt;
I don't know exactly, but if it is the usage of the handles that necessitates the disabling of the buttons, then the following link, especially Section 7 could be useful:&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/support/tech-notes/1200/1205.html&quot;&gt;http://www.mathworks.com/support/tech-notes/1200/1205.html&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Thanks.</description>
    </item>
  </channel>
</rss>

