<?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: handle2struct, struct2handle &#038; Matlab 8.0	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=handle2struct-struct2handle-and-matlab-8</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Wed, 29 Oct 2014 14:11:14 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Manoj		</title>
		<link>https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-335539</link>

		<dc:creator><![CDATA[Manoj]]></dc:creator>
		<pubDate>Wed, 29 Oct 2014 14:11:14 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2023#comment-335539</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-326067&quot;&gt;Augusto Medeiros&lt;/a&gt;.

@Augusto - Your solution made my day!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-326067">Augusto Medeiros</a>.</p>
<p>@Augusto &#8211; Your solution made my day!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Augusto Medeiros		</title>
		<link>https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-326067</link>

		<dc:creator><![CDATA[Augusto Medeiros]]></dc:creator>
		<pubDate>Mon, 09 Jun 2014 18:03:56 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2023#comment-326067</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-85779&quot;&gt;Cameron Carroll&lt;/a&gt;.

Hi, I know your post is 2 years old, but wondered it might help someone else with the same problem, since this information is not easily found on the internet. After loading your figure as a structure named &#039;s&#039;, you should do:
&lt;pre lang=&#039;matlab&#039;&gt;struct2handle(s.hgS_070000,0,&#039;convert&#039;);&lt;/pre&gt;

That&#039;s how I accomplished it.

Cheers,
Augusto]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-85779">Cameron Carroll</a>.</p>
<p>Hi, I know your post is 2 years old, but wondered it might help someone else with the same problem, since this information is not easily found on the internet. After loading your figure as a structure named &#8216;s&#8217;, you should do:</p>
<pre lang='matlab'>struct2handle(s.hgS_070000,0,'convert');</pre>
<p>That&#8217;s how I accomplished it.</p>
<p>Cheers,<br />
Augusto</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Handle Graphics Behavior &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-168303</link>

		<dc:creator><![CDATA[Handle Graphics Behavior &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Wed, 06 Mar 2013 21:25:24 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2023#comment-168303</guid>

					<description><![CDATA[[...] The Serialize property is searched-for by the hgsaveStructDbl function when saving figures (I described hgsaveStructDbl here) [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] The Serialize property is searched-for by the hgsaveStructDbl function when saving figures (I described hgsaveStructDbl here) [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Matlab installation take 2 &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-108785</link>

		<dc:creator><![CDATA[Matlab installation take 2 &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Wed, 12 Sep 2012 13:08:59 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2023#comment-108785</guid>

					<description><![CDATA[[...] The new R2012b release has received the version ID of 8.0. Despite my speculations in 2010 (here and here) that Matlab 8.0 will bring along the promise of the much-awaited HG2, it turns out that I was wrong [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] The new R2012b release has received the version ID of 8.0. Despite my speculations in 2010 (here and here) that Matlab 8.0 will bring along the promise of the much-awaited HG2, it turns out that I was wrong [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Cameron Carroll		</title>
		<link>https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-85779</link>

		<dc:creator><![CDATA[Cameron Carroll]]></dc:creator>
		<pubDate>Sat, 12 May 2012 22:07:17 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2023#comment-85779</guid>

					<description><![CDATA[I&#039;m trying to use struct2handle to generate figures from a common base figure (loaded as a structure as per these blog posts) but I don&#039;t really understand what to declare the parent as. struct2handle complains if I just pass it a struct, and the function itself doesn&#039;t really return any meaningful error messages. [struct2handle(figstruct, gcbf) =&#062; &#039;Caught unexpected error of unknown type.&#039;]

I was just wondering what to pass in as the parent parameter, and whether anyone has an example.

Thanks a ton,

Cameron]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying to use struct2handle to generate figures from a common base figure (loaded as a structure as per these blog posts) but I don&#8217;t really understand what to declare the parent as. struct2handle complains if I just pass it a struct, and the function itself doesn&#8217;t really return any meaningful error messages. [struct2handle(figstruct, gcbf) =&gt; &#8216;Caught unexpected error of unknown type.&#8217;]</p>
<p>I was just wondering what to pass in as the parent parameter, and whether anyone has an example.</p>
<p>Thanks a ton,</p>
<p>Cameron</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-43989</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 19 May 2011 16:45:22 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2023#comment-43989</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-43986&quot;&gt;Nievinski&lt;/a&gt;.

@Nievinski - I personally think that these two functions will not be removed anytime soon. However, their internal implementation may indeed change. Also, I do not get any inside information from MathWorks, so I could be wrong in my assumptions.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-43986">Nievinski</a>.</p>
<p>@Nievinski &#8211; I personally think that these two functions will not be removed anytime soon. However, their internal implementation may indeed change. Also, I do not get any inside information from MathWorks, so I could be wrong in my assumptions.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nievinski		</title>
		<link>https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-43986</link>

		<dc:creator><![CDATA[Nievinski]]></dc:creator>
		<pubDate>Thu, 19 May 2011 16:13:33 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2023#comment-43986</guid>

					<description><![CDATA[I discovered recently both functions and started to use them. I&#039;m developing a program with an interface that uses tabs, so to organize all the tabs is better to keep them isolated, so i&#039;m using diferent figures and calling them in the main figure using handles2struct followed by struct2handle. Besides i&#039;ll need this feature to some other tasks. Can you say about the chances of these function be removed in future releases? That would be disastrous for me.]]></description>
			<content:encoded><![CDATA[<p>I discovered recently both functions and started to use them. I&#8217;m developing a program with an interface that uses tabs, so to organize all the tabs is better to keep them isolated, so i&#8217;m using diferent figures and calling them in the main figure using handles2struct followed by struct2handle. Besides i&#8217;ll need this feature to some other tasks. Can you say about the chances of these function be removed in future releases? That would be disastrous for me.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: matt dash		</title>
		<link>https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-29110</link>

		<dc:creator><![CDATA[matt dash]]></dc:creator>
		<pubDate>Tue, 11 Jan 2011 22:18:13 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2023#comment-29110</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-29101&quot;&gt;matt dash&lt;/a&gt;.

On third thought, that still didn&#039;t quite fix the problem. The saving worked, but I got an error when trying to re-open it, thus defeating the purpose of saving it... 

I did end up fixing my original problem by making a simplified version of hgsave that uses handle2struct to get all the info that would normally be saved in a .fig file, and then I removed the references to the jtable before saving the stucture. Works like a charm!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-29101">matt dash</a>.</p>
<p>On third thought, that still didn&#8217;t quite fix the problem. The saving worked, but I got an error when trying to re-open it, thus defeating the purpose of saving it&#8230; </p>
<p>I did end up fixing my original problem by making a simplified version of hgsave that uses handle2struct to get all the info that would normally be saved in a .fig file, and then I removed the references to the jtable before saving the stucture. Works like a charm!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: matt dash		</title>
		<link>https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-29101</link>

		<dc:creator><![CDATA[matt dash]]></dc:creator>
		<pubDate>Tue, 11 Jan 2011 21:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2023#comment-29101</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-29098&quot;&gt;matt dash&lt;/a&gt;.

edit: Actually I also needed to ~ the &quot;if SaveOldFig&quot;, so it is using hgsaveObject, not hgsaveStuctClass, when it works without errors.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-29098">matt dash</a>.</p>
<p>edit: Actually I also needed to ~ the &#8220;if SaveOldFig&#8221;, so it is using hgsaveObject, not hgsaveStuctClass, when it works without errors.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: matt dash		</title>
		<link>https://undocumentedmatlab.com/articles/handle2struct-struct2handle-and-matlab-8#comment-29098</link>

		<dc:creator><![CDATA[matt dash]]></dc:creator>
		<pubDate>Tue, 11 Jan 2011 21:17:56 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2023#comment-29098</guid>

					<description><![CDATA[As a mildly interesting related note, I just noticed that the problem I described here:

https://www.mathworks.com/matlabcentral/newsreader/view_thread/300680

Does not occur if I use the version 8 option in hgsave (by removing the ~ in &quot;if ~feature(&#039;HGUsingMatlabClasses&#039;)&quot;) so that it uses hgsaveStructClass instead of hgsaveStructDbl.]]></description>
			<content:encoded><![CDATA[<p>As a mildly interesting related note, I just noticed that the problem I described here:</p>
<p><a href="https://www.mathworks.com/matlabcentral/newsreader/view_thread/300680" rel="nofollow ugc">https://www.mathworks.com/matlabcentral/newsreader/view_thread/300680</a></p>
<p>Does not occur if I use the version 8 option in hgsave (by removing the ~ in &#8220;if ~feature(&#8216;HGUsingMatlabClasses&#8217;)&#8221;) so that it uses hgsaveStructClass instead of hgsaveStructDbl.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
