<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252817</link>
    <title>MATLAB Central Newsreader - how do I use &quot;SelectedObject&quot; property?</title>
    <description>Feed for thread: how do I use &quot;SelectedObject&quot; property?</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>Wed, 03 Jun 2009 15:38:01 -0400</pubDate>
      <title>how do I use &quot;SelectedObject&quot; property?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252817#654404</link>
      <author>Alejandro </author>
      <description>Hello, I'm using two radio buttons in a button group to select between two different plots, I read the documentation, and I found that I need to use the SelectedObject property of the button group, to let other functions know which element of the group is selected. The problem is that I can't find an example about how to use this property. Can anyone show me an example?&lt;br&gt;
&lt;br&gt;
Thanks in advance.</description>
    </item>
    <item>
      <pubDate>Thu, 04 Jun 2009 14:18:02 -0400</pubDate>
      <title>Re: how do I use &quot;SelectedObject&quot; property?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252817#654674</link>
      <author>John </author>
      <description>You will get an example if you type 'doc uibuttongroup' on the matlab command line.&lt;br&gt;
&lt;br&gt;
&quot;Alejandro &quot; &amp;lt;notasuicida@gmail.com&amp;gt; wrote in message &amp;lt;h065cp$ftl$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hello, I'm using two radio buttons in a button group to select between two different plots, I read the documentation, and I found that I need to use the SelectedObject property of the button group, to let other functions know which element of the group is selected. The problem is that I can't find an example about how to use this property. Can anyone show me an example?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks in advance.</description>
    </item>
    <item>
      <pubDate>Sat, 13 Feb 2010 06:54:21 -0500</pubDate>
      <title>Re: how do I use &quot;SelectedObject&quot; property?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252817#717353</link>
      <author>Nabeel Abbood</author>
      <description>&quot;Alejandro &quot; &amp;lt;notasuicida@gmail.com&amp;gt; wrote in message &amp;lt;h065cp$ftl$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hello, I'm using two radio buttons in a button group to select between two different plots, I read the documentation, and I found that I need to use the SelectedObject property of the button group, to let other functions know which element of the group is selected. The problem is that I can't find an example about how to use this property. Can anyone show me an example?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks in advance.&lt;br&gt;
&lt;br&gt;
same problem for me.&lt;br&gt;
&lt;br&gt;
To sort it out I used this syntax :&lt;br&gt;
&lt;br&gt;
h=get(handles.Hot_Streams_Order, 'SelectedObject');&lt;br&gt;
HotOrder=get(h,'Tag')&lt;br&gt;
&lt;br&gt;
Where: 'Hot_Streams_Order&quot; is the radio buttons group that I used.&lt;br&gt;
&lt;br&gt;
Thanks</description>
    </item>
    <item>
      <pubDate>Sun, 28 Mar 2010 02:28:06 -0400</pubDate>
      <title>Re: how do I use &quot;SelectedObject&quot; property?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252817#730667</link>
      <author>John Joo</author>
      <description>Thanks!  This helped me out a ton as well!&lt;br&gt;
&lt;br&gt;
&quot;Nabeel Abbood&quot; &amp;lt;nabeel.abbood@gmail.com&amp;gt; wrote in message &amp;lt;hl5ias$p04$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Alejandro &quot; &amp;lt;notasuicida@gmail.com&amp;gt; wrote in message &amp;lt;h065cp$ftl$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Hello, I'm using two radio buttons in a button group to select between two different plots, I read the documentation, and I found that I need to use the SelectedObject property of the button group, to let other functions know which element of the group is selected. The problem is that I can't find an example about how to use this property. Can anyone show me an example?&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Thanks in advance.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; same problem for me.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; To sort it out I used this syntax :&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; h=get(handles.Hot_Streams_Order, 'SelectedObject');&lt;br&gt;
&amp;gt; HotOrder=get(h,'Tag')&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Where: 'Hot_Streams_Order&quot; is the radio buttons group that I used.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks</description>
    </item>
    <item>
      <pubDate>Fri, 07 May 2010 15:52:05 -0400</pubDate>
      <title>Re: how do I use &quot;SelectedObject&quot; property?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252817#743106</link>
      <author>Royi Avital</author>
      <description>&quot;Alejandro &quot; &amp;lt;notasuicida@gmail.com&amp;gt; wrote in message &amp;lt;h065cp$ftl$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hello, I'm using two radio buttons in a button group to select between two different plots, I read the documentation, and I found that I need to use the SelectedObject property of the button group, to let other functions know which element of the group is selected. The problem is that I can't find an example about how to use this property. Can anyone show me an example?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks in advance.&lt;br&gt;
&lt;br&gt;
Moreover, How do I select a button from another function?&lt;br&gt;
I tried:&lt;br&gt;
set(handles.DisplayOptions, 'SelectedObject', [some value]);&lt;br&gt;
&lt;br&gt;
Yet I can't know the correct value before running the GUI.&lt;br&gt;
&lt;br&gt;
To make things clear, I have a GUI with a group of radio buttons - 'DisplayOptions'.&lt;br&gt;
I want to select a button from another Function within the GUI.&lt;br&gt;
&lt;br&gt;
Thanks.</description>
    </item>
    <item>
      <pubDate>Sat, 08 May 2010 11:02:04 -0400</pubDate>
      <title>Re: how do I use &quot;SelectedObject&quot; property?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/252817#743266</link>
      <author>Royi Avital</author>
      <description>Anyone?&lt;br&gt;
How do I control the selection in a Radio Button Group from another function?&lt;br&gt;
How do I know the selected button from another function?&lt;br&gt;
&lt;br&gt;
I couldn't do it using 'SelectedObject' as I don't have the handler value before.&lt;br&gt;
&lt;br&gt;
Thanks.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;Royi Avital&quot; &amp;lt;RoyiREMOVEAvital@yahoo.com&amp;gt; wrote in message &amp;lt;hs1cv5$cbp$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Alejandro &quot; &amp;lt;notasuicida@gmail.com&amp;gt; wrote in message &amp;lt;h065cp$ftl$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Hello, I'm using two radio buttons in a button group to select between two different plots, I read the documentation, and I found that I need to use the SelectedObject property of the button group, to let other functions know which element of the group is selected. The problem is that I can't find an example about how to use this property. Can anyone show me an example?&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Thanks in advance.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Moreover, How do I select a button from another function?&lt;br&gt;
&amp;gt; I tried:&lt;br&gt;
&amp;gt; set(handles.DisplayOptions, 'SelectedObject', [some value]);&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Yet I can't know the correct value before running the GUI.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; To make things clear, I have a GUI with a group of radio buttons - 'DisplayOptions'.&lt;br&gt;
&amp;gt; I want to select a button from another Function within the GUI.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks.</description>
    </item>
  </channel>
</rss>

