<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Sliders in Matlab GUI &#8211; part 2	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/sliders-in-matlab-gui-part-2/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/sliders-in-matlab-gui-part-2?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sliders-in-matlab-gui-part-2</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Wed, 07 Apr 2021 15:32:23 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: matse		</title>
		<link>https://undocumentedmatlab.com/articles/sliders-in-matlab-gui-part-2#comment-510537</link>

		<dc:creator><![CDATA[matse]]></dc:creator>
		<pubDate>Wed, 07 Apr 2021 15:32:23 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=7728#comment-510537</guid>

					<description><![CDATA[Is there a possibility to rotate the controllib.widget.Slider? So to have it vertical?

Thanks!]]></description>
			<content:encoded><![CDATA[<p>Is there a possibility to rotate the controllib.widget.Slider? So to have it vertical?</p>
<p>Thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/sliders-in-matlab-gui-part-2#comment-508187</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 05 Feb 2020 08:52:55 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=7728#comment-508187</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/sliders-in-matlab-gui-part-2#comment-508185&quot;&gt;Don&lt;/a&gt;.

@Don - you can control the components of &lt;code&gt;controllib.widget.Slider&lt;/code&gt; using its internal properties, as follows:
&lt;pre lang=&quot;matlab&quot;&gt;
&gt;&gt; warning off MATLAB:structOnObject  % avoid warning
&gt;&gt; hSlider = controllib.widget.Slider(hFigure, [10,10,100,50], 1:20);
&gt;&gt; sSlider = struct(hSlider)
s = 
  struct with fields:
         Data: [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20]
        Index: 10
        Value: 10
     FontSize: 8
     Position: [10 10 100 50]
        Data_: [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20]
       Index_: 10
       Scale_: &#039;linear&#039;
         Axes: [1×1 Axes]
        Lines: [2×1 Line]
          Dot: [1×1 Patch]
     Steppers: [2×1 Patch]
         Text: [1×1 Text]
        Cache: []
    Listeners: [1×1 event.listener]
       RADIUS: 0.25
       OFFSET: 0.75
        THETA: [1×41 double]
           XC: [1×41 double]
           YC: [1×41 double]
&gt;&gt; set(allchild(sSlider.Axes),&#039;Visible&#039;,&#039;off&#039;);  % or &#039;on&#039; to make visible again
&gt;&gt; warning on MATLAB:structOnObject  % restore warning
&lt;/pre&gt;

You can also control individual slider components this way. For example, to hide the stepper triangles on the right and on the left:
&lt;pre lang=&quot;matlab&quot;&gt;set(sSlider.Steppers,&#039;Visible&#039;,&#039;off&#039;)&lt;/pre&gt;

To delete the slider altogether, delete its container axes:
&lt;pre lang=&quot;matlab&quot;&gt;delete(sSlider.Axes)&lt;/pre&gt;
]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/sliders-in-matlab-gui-part-2#comment-508185">Don</a>.</p>
<p>@Don &#8211; you can control the components of <code>controllib.widget.Slider</code> using its internal properties, as follows:</p>
<pre lang="matlab">
>> warning off MATLAB:structOnObject  % avoid warning
>> hSlider = controllib.widget.Slider(hFigure, [10,10,100,50], 1:20);
>> sSlider = struct(hSlider)
s = 
  struct with fields:
         Data: [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20]
        Index: 10
        Value: 10
     FontSize: 8
     Position: [10 10 100 50]
        Data_: [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20]
       Index_: 10
       Scale_: 'linear'
         Axes: [1×1 Axes]
        Lines: [2×1 Line]
          Dot: [1×1 Patch]
     Steppers: [2×1 Patch]
         Text: [1×1 Text]
        Cache: []
    Listeners: [1×1 event.listener]
       RADIUS: 0.25
       OFFSET: 0.75
        THETA: [1×41 double]
           XC: [1×41 double]
           YC: [1×41 double]
>> set(allchild(sSlider.Axes),'Visible','off');  % or 'on' to make visible again
>> warning on MATLAB:structOnObject  % restore warning
</pre>
<p>You can also control individual slider components this way. For example, to hide the stepper triangles on the right and on the left:</p>
<pre lang="matlab">set(sSlider.Steppers,'Visible','off')</pre>
<p>To delete the slider altogether, delete its container axes:</p>
<pre lang="matlab">delete(sSlider.Axes)</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Don		</title>
		<link>https://undocumentedmatlab.com/articles/sliders-in-matlab-gui-part-2#comment-508185</link>

		<dc:creator><![CDATA[Don]]></dc:creator>
		<pubDate>Wed, 05 Feb 2020 07:03:43 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=7728#comment-508185</guid>

					<description><![CDATA[I do not see a visible (on/off) property.  Is there a way hide/unhide these, specifically controllib.widget.Slider.
I currently just use Position and move it out of visible range.  Also, can it be deleted?  (It can, but leaves the widget).]]></description>
			<content:encoded><![CDATA[<p>I do not see a visible (on/off) property.  Is there a way hide/unhide these, specifically controllib.widget.Slider.<br />
I currently just use Position and move it out of visible range.  Also, can it be deleted?  (It can, but leaves the widget).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/sliders-in-matlab-gui-part-2#comment-457068</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sun, 06 Jan 2019 14:02:39 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=7728#comment-457068</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/sliders-in-matlab-gui-part-2#comment-457067&quot;&gt;sgs&lt;/a&gt;.

You can do this with practically all of them. See here for example: http://undocumentedmatlab.com/blog/continuous-slider-callback]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/sliders-in-matlab-gui-part-2#comment-457067">sgs</a>.</p>
<p>You can do this with practically all of them. See here for example: <a href="http://undocumentedmatlab.com/blog/continuous-slider-callback" rel="ugc">http://undocumentedmatlab.com/blog/continuous-slider-callback</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: sgs		</title>
		<link>https://undocumentedmatlab.com/articles/sliders-in-matlab-gui-part-2#comment-457067</link>

		<dc:creator><![CDATA[sgs]]></dc:creator>
		<pubDate>Sun, 06 Jan 2019 13:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=7728#comment-457067</guid>

					<description><![CDATA[do any of these sliders execute a callback not just when the values is changed, or when the mouse button is released, but as the mouse *moves*?

I&#039;m trying to implement a slider where the limits automatically expand as you get to the edges. I don&#039;t think this is possible with uicontrol, and i wonder if it&#039;s possible with the others.]]></description>
			<content:encoded><![CDATA[<p>do any of these sliders execute a callback not just when the values is changed, or when the mouse button is released, but as the mouse *moves*?</p>
<p>I&#8217;m trying to implement a slider where the limits automatically expand as you get to the edges. I don&#8217;t think this is possible with uicontrol, and i wonder if it&#8217;s possible with the others.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/sliders-in-matlab-gui-part-2#comment-432907</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 19 Jul 2018 21:33:29 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=7728#comment-432907</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/sliders-in-matlab-gui-part-2#comment-432904&quot;&gt;medi&lt;/a&gt;.

@Medi - I am not sure what you mean. I discussed a slider that has several knobs (&quot;range slider&quot;) here: &lt;a href=&quot;http://undocumentedmatlab.com/blog/sliders-in-matlab-gui#range&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://undocumentedmatlab.com/blog/sliders-in-matlab-gui#range&lt;/a&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/sliders-in-matlab-gui-part-2#comment-432904">medi</a>.</p>
<p>@Medi &#8211; I am not sure what you mean. I discussed a slider that has several knobs (&#8220;range slider&#8221;) here: <a href="http://undocumentedmatlab.com/blog/sliders-in-matlab-gui#range" target="_blank" rel="nofollow">http://undocumentedmatlab.com/blog/sliders-in-matlab-gui#range</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: medi		</title>
		<link>https://undocumentedmatlab.com/articles/sliders-in-matlab-gui-part-2#comment-432904</link>

		<dc:creator><![CDATA[medi]]></dc:creator>
		<pubDate>Thu, 19 Jul 2018 21:19:50 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=7728#comment-432904</guid>

					<description><![CDATA[how can i plot many data with slider in Gui?]]></description>
			<content:encoded><![CDATA[<p>how can i plot many data with slider in Gui?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/sliders-in-matlab-gui-part-2#comment-431809</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Fri, 06 Jul 2018 11:29:27 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=7728#comment-431809</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/sliders-in-matlab-gui-part-2#comment-431807&quot;&gt;Zoltan Csati&lt;/a&gt;.

@Zoltan - R2015b is 6 releases older than the latest Matlab release, so surely this is no surprise. New functions are being added to Matlab with each new release. If you upgrade to one of the latest Matlab releases you will be able to use this function.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/sliders-in-matlab-gui-part-2#comment-431807">Zoltan Csati</a>.</p>
<p>@Zoltan &#8211; R2015b is 6 releases older than the latest Matlab release, so surely this is no surprise. New functions are being added to Matlab with each new release. If you upgrade to one of the latest Matlab releases you will be able to use this function.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Zoltan Csati		</title>
		<link>https://undocumentedmatlab.com/articles/sliders-in-matlab-gui-part-2#comment-431807</link>

		<dc:creator><![CDATA[Zoltan Csati]]></dc:creator>
		<pubDate>Fri, 06 Jul 2018 11:18:40 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=7728#comment-431807</guid>

					<description><![CDATA[In R2015b I only see the *+app*, the and the *+plot* packages inside the *+controllib* package, no *widget*.]]></description>
			<content:encoded><![CDATA[<p>In R2015b I only see the *+app*, the and the *+plot* packages inside the *+controllib* package, no *widget*.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
