<?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: Simple GUI Tabs for Advanced Matlab Trading App	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=simple-gui-tabs-for-advanced-matlab-trading-app</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Thu, 06 Jul 2017 21:32:38 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.3</generator>
	<item>
		<title>
		By: Negs		</title>
		<link>https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-409830</link>

		<dc:creator><![CDATA[Negs]]></dc:creator>
		<pubDate>Thu, 06 Jul 2017 21:32:38 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6275#comment-409830</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-409655&quot;&gt;Yair Altman&lt;/a&gt;.

Yair, Thanks for the reply. You are right, sorry I meant .m (and not .mat). No, Actually I passed the hObject and eventData correctly, but my problem was that I was using a slightly wrong syntax when setting the callback property of my object (object X). I could finally fix it by using the below syntax and now it works.

&lt;pre lang=&quot;matlab&quot;&gt;set(handles.ObjX,&#039;Callback&#039;,@(hObject,eventdata)ObjX_Callback(hObject,eventdata,handles));&lt;/pre&gt;

Thanks again for your time and the great tool!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-409655">Yair Altman</a>.</p>
<p>Yair, Thanks for the reply. You are right, sorry I meant .m (and not .mat). No, Actually I passed the hObject and eventData correctly, but my problem was that I was using a slightly wrong syntax when setting the callback property of my object (object X). I could finally fix it by using the below syntax and now it works.</p>
<pre lang="matlab">set(handles.ObjX,'Callback',@(hObject,eventdata)ObjX_Callback(hObject,eventdata,handles));</pre>
<p>Thanks again for your time and the great tool!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-409655</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Mon, 03 Jul 2017 17:34:51 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6275#comment-409655</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-409653&quot;&gt;Negs&lt;/a&gt;.

@Negs - first, I assume you mean &lt;i&gt;MyFunction.m&lt;/i&gt;, not &lt;i&gt;MyFunction.mat&lt;/i&gt; (MAT files contain data, not code). In answer to your question, I assume that you did not define MyFunction() as a function that receives 2 input arguments, as all UI callbacks functions must be defined (first input arg is the clicked object handle, the second input arg is an event data object/struct). Sommething like this:
&lt;pre lang=&quot;matlab&quot;&gt;function MyFunction(hObject, eventData)&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-409653">Negs</a>.</p>
<p>@Negs &#8211; first, I assume you mean <i>MyFunction.m</i>, not <i>MyFunction.mat</i> (MAT files contain data, not code). In answer to your question, I assume that you did not define MyFunction() as a function that receives 2 input arguments, as all UI callbacks functions must be defined (first input arg is the clicked object handle, the second input arg is an event data object/struct). Sommething like this:</p>
<pre lang="matlab">function MyFunction(hObject, eventData)</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Negs		</title>
		<link>https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-409653</link>

		<dc:creator><![CDATA[Negs]]></dc:creator>
		<pubDate>Mon, 03 Jul 2017 17:25:52 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6275#comment-409653</guid>

					<description><![CDATA[Hello,
Thanks for sharing your tool. I&#039;m trying to adopt your tab capability, but I decided to define a function (saved in a different .mat file, let&#039;s call that function MyFunction.mat) that contains the following to make my program more modular but I&#039;m getting an error that I&#039;m not able to resolve. Below is what I included in this additional:
- The part of code in the opening function related to tab creation
- merge TabsFun into this function

As for the ClickOnTab function, I once left the ClickOnTab function (as it was) in the main GUI mat file and got the following error. I also tried to move ClickOnTab to my previously defined function (MyFunction.mat) and got the same error. Finally, I tried to define a separate .mat file for function ClickOnTab, but got the same error. All of these scenarios resulted in the following error. I&#039;m not sure how to fix this problem.
Error:
Error using MyFunction
Too many input arguments. 
Error while evaluating Axes ButtonDownFcn

Note that I don&#039;t get this error when I run my original GUI. The error appears only when I click on one of the tabs.

Any help  is appreciated. Thanks!]]></description>
			<content:encoded><![CDATA[<p>Hello,<br />
Thanks for sharing your tool. I&#8217;m trying to adopt your tab capability, but I decided to define a function (saved in a different .mat file, let&#8217;s call that function MyFunction.mat) that contains the following to make my program more modular but I&#8217;m getting an error that I&#8217;m not able to resolve. Below is what I included in this additional:<br />
&#8211; The part of code in the opening function related to tab creation<br />
&#8211; merge TabsFun into this function</p>
<p>As for the ClickOnTab function, I once left the ClickOnTab function (as it was) in the main GUI mat file and got the following error. I also tried to move ClickOnTab to my previously defined function (MyFunction.mat) and got the same error. Finally, I tried to define a separate .mat file for function ClickOnTab, but got the same error. All of these scenarios resulted in the following error. I&#8217;m not sure how to fix this problem.<br />
Error:<br />
Error using MyFunction<br />
Too many input arguments.<br />
Error while evaluating Axes ButtonDownFcn</p>
<p>Note that I don&#8217;t get this error when I run my original GUI. The error appears only when I click on one of the tabs.</p>
<p>Any help  is appreciated. Thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alex Boykov		</title>
		<link>https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-380557</link>

		<dc:creator><![CDATA[Alex Boykov]]></dc:creator>
		<pubDate>Thu, 16 Jun 2016 09:43:49 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6275#comment-380557</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-380532&quot;&gt;Sean&lt;/a&gt;.

Are you sure that your figure tag is &quot;registration&quot;? Please check it doing steps from this image: http://wfatoolbox.com/img/answer-check-figure-tag.png]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-380532">Sean</a>.</p>
<p>Are you sure that your figure tag is &#8220;registration&#8221;? Please check it doing steps from this image: <a href="http://wfatoolbox.com/img/answer-check-figure-tag.png" rel="nofollow ugc">http://wfatoolbox.com/img/answer-check-figure-tag.png</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sean		</title>
		<link>https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-380532</link>

		<dc:creator><![CDATA[Sean]]></dc:creator>
		<pubDate>Thu, 16 Jun 2016 05:12:42 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6275#comment-380532</guid>

					<description><![CDATA[Hello, 

I am trying the code as provided, when i change the &#039;SimpleOptimizedTab&#039; to my figure name, but it still shows reference to non-existent field &#039;registration&#039;. My figure name is &#039;registration&#039;. Can you help me figure out the problem? 

Thank you.
Sean]]></description>
			<content:encoded><![CDATA[<p>Hello, </p>
<p>I am trying the code as provided, when i change the &#8216;SimpleOptimizedTab&#8217; to my figure name, but it still shows reference to non-existent field &#8216;registration&#8217;. My figure name is &#8216;registration&#8217;. Can you help me figure out the problem? </p>
<p>Thank you.<br />
Sean</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alex Boykov		</title>
		<link>https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-378618</link>

		<dc:creator><![CDATA[Alex Boykov]]></dc:creator>
		<pubDate>Tue, 31 May 2016 12:53:38 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6275#comment-378618</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-378615&quot;&gt;Mosawi&lt;/a&gt;.

Feel free to use it. It also be great if you will be able to notice somewhere that &quot;GUI Tabs was built with help of WFAToolbox Team (http://wfatoolbox.com)&quot;, but it is up to you.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-378615">Mosawi</a>.</p>
<p>Feel free to use it. It also be great if you will be able to notice somewhere that &#8220;GUI Tabs was built with help of WFAToolbox Team (<a href="http://wfatoolbox.com" rel="nofollow ugc">http://wfatoolbox.com</a>)&#8221;, but it is up to you.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mosawi		</title>
		<link>https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-378615</link>

		<dc:creator><![CDATA[Mosawi]]></dc:creator>
		<pubDate>Tue, 31 May 2016 12:41:52 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6275#comment-378615</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-378168&quot;&gt;Alex Boykov&lt;/a&gt;.

Thank you for your answer. I have now incorporated your ingenious tab code into my GUI. I would like to publish my software in the future, what is your policies regarding this.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-378168">Alex Boykov</a>.</p>
<p>Thank you for your answer. I have now incorporated your ingenious tab code into my GUI. I would like to publish my software in the future, what is your policies regarding this.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alex Boykov		</title>
		<link>https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-378168</link>

		<dc:creator><![CDATA[Alex Boykov]]></dc:creator>
		<pubDate>Fri, 27 May 2016 13:01:15 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6275#comment-378168</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-378165&quot;&gt;Mosawi&lt;/a&gt;.

Hello, Mosawi!

Thank you for your question! In the code from the article uses a figure named &quot;SimpleOptimizedTab&quot;, so you should change that name to your figure&#039;s name. Also we can suggest you to take the SimpleTabPanel code and GUI and add there your code, than vice versa.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-378165">Mosawi</a>.</p>
<p>Hello, Mosawi!</p>
<p>Thank you for your question! In the code from the article uses a figure named &#8220;SimpleOptimizedTab&#8221;, so you should change that name to your figure&#8217;s name. Also we can suggest you to take the SimpleTabPanel code and GUI and add there your code, than vice versa.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mosawi		</title>
		<link>https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-378165</link>

		<dc:creator><![CDATA[Mosawi]]></dc:creator>
		<pubDate>Fri, 27 May 2016 12:23:42 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6275#comment-378165</guid>

					<description><![CDATA[Hello, 
 
I am trying to embed the tab code into my existing GUI. I am getting the error: Reference to non-existent field &#039;SimpleOptimizedTab&#039;. I analyzed your code and there is indeed to reference to the field. How come it only asks for the reference upon embedding in an existing GUI? and can this problem be fixed?

Thank you
Mosawi]]></description>
			<content:encoded><![CDATA[<p>Hello, </p>
<p>I am trying to embed the tab code into my existing GUI. I am getting the error: Reference to non-existent field &#8216;SimpleOptimizedTab&#8217;. I analyzed your code and there is indeed to reference to the field. How come it only asks for the reference upon embedding in an existing GUI? and can this problem be fixed?</p>
<p>Thank you<br />
Mosawi</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-377789</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Tue, 24 May 2016 11:44:57 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6275#comment-377789</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-377787&quot;&gt;Stephan Arendt&lt;/a&gt;.

@Stephan - again I reiterate: IB-Matlab does NOT contain any GUI. It is a pure Matlab function without any GUI. Perhaps you&#039;re referring to some GUI program that is using IB-Matlab - IB-Matlab itself has no GUI. 

Anyway, to get realistic-looking tabs you can use Matlab&#039;s &lt;i&gt;&lt;b&gt;uitabgroup&lt;/b&gt;&lt;/i&gt; and &lt;i&gt;&lt;b&gt;uitab&lt;/b&gt;&lt;/i&gt; functions.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/simple-gui-tabs-for-advanced-matlab-trading-app#comment-377787">Stephan Arendt</a>.</p>
<p>@Stephan &#8211; again I reiterate: IB-Matlab does NOT contain any GUI. It is a pure Matlab function without any GUI. Perhaps you&#8217;re referring to some GUI program that is using IB-Matlab &#8211; IB-Matlab itself has no GUI. </p>
<p>Anyway, to get realistic-looking tabs you can use Matlab&#8217;s <i><b>uitabgroup</b></i> and <i><b>uitab</b></i> functions.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
