<?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: Accessing private object properties	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/accessing-private-object-properties/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/accessing-private-object-properties?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=accessing-private-object-properties</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Mon, 29 Jul 2024 13:10:21 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/accessing-private-object-properties#comment-524861</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Mon, 29 Jul 2024 13:10:21 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4512#comment-524861</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/accessing-private-object-properties#comment-524860&quot;&gt;Gehan&lt;/a&gt;.

see the details in my reply above]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/accessing-private-object-properties#comment-524860">Gehan</a>.</p>
<p>see the details in my reply above</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Gehan		</title>
		<link>https://undocumentedmatlab.com/articles/accessing-private-object-properties#comment-524860</link>

		<dc:creator><![CDATA[Gehan]]></dc:creator>
		<pubDate>Mon, 29 Jul 2024 13:07:37 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4512#comment-524860</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/accessing-private-object-properties#comment-524859&quot;&gt;Yair Altman&lt;/a&gt;.

The link at https://www.mathworks.com/matlabcentral/fileexchange/30672-mxgetpropertyptr
no longer contain the files
mxGetPropertyPtr.c
mxGetPropertyPtr.h
I downloaded the folder. They are missing]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/accessing-private-object-properties#comment-524859">Yair Altman</a>.</p>
<p>The link at <a href="https://www.mathworks.com/matlabcentral/fileexchange/30672-mxgetpropertyptr" rel="nofollow ugc">https://www.mathworks.com/matlabcentral/fileexchange/30672-mxgetpropertyptr</a><br />
no longer contain the files<br />
mxGetPropertyPtr.c<br />
mxGetPropertyPtr.h<br />
I downloaded the folder. They are missing</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/accessing-private-object-properties#comment-524859</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Mon, 29 Jul 2024 12:52:20 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4512#comment-524859</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/accessing-private-object-properties#comment-524858&quot;&gt;Gehan Abouelseoud&lt;/a&gt;.

I believe that you are referring to James Tursa&#039;s submission - you can get it here: &lt;a href=&quot;https://www.mathworks.com/matlabcentral/fileexchange/30672-mxgetpropertyptr&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://www.mathworks.com/matlabcentral/fileexchange/30672-mxgetpropertyptr&lt;/a&gt;. Inside the submission, use the files &lt;i&gt;mexPropertyPtrSDC.c, mexPropertyPtrSDC.h&lt;/i&gt;. The submission contains various Matlab and C test files that can help understand how to use the code, as well as a PDF document explaining the technical details. Note that the submission files have not been updated since 2019 and may possibly fail on recent Matlab releases; they rely on deeply undocumented aspects, which may easily break across Matlab releases.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/accessing-private-object-properties#comment-524858">Gehan Abouelseoud</a>.</p>
<p>I believe that you are referring to James Tursa&#8217;s submission &#8211; you can get it here: <a href="https://www.mathworks.com/matlabcentral/fileexchange/30672-mxgetpropertyptr" target="_blank" rel="nofollow">https://www.mathworks.com/matlabcentral/fileexchange/30672-mxgetpropertyptr</a>. Inside the submission, use the files <i>mexPropertyPtrSDC.c, mexPropertyPtrSDC.h</i>. The submission contains various Matlab and C test files that can help understand how to use the code, as well as a PDF document explaining the technical details. Note that the submission files have not been updated since 2019 and may possibly fail on recent Matlab releases; they rely on deeply undocumented aspects, which may easily break across Matlab releases.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Gehan Abouelseoud		</title>
		<link>https://undocumentedmatlab.com/articles/accessing-private-object-properties#comment-524858</link>

		<dc:creator><![CDATA[Gehan Abouelseoud]]></dc:creator>
		<pubDate>Mon, 29 Jul 2024 12:17:18 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4512#comment-524858</guid>

					<description><![CDATA[These files are no longer available
what can I do?
mxGetPropertyPtr.c
mxGetPropertyPtr.h]]></description>
			<content:encoded><![CDATA[<p>These files are no longer available<br />
what can I do?<br />
mxGetPropertyPtr.c<br />
mxGetPropertyPtr.h</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Serializing/deserializing Matlab data &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/accessing-private-object-properties#comment-318136</link>

		<dc:creator><![CDATA[Serializing/deserializing Matlab data &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Mon, 10 Mar 2014 13:22:19 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4512#comment-318136</guid>

					<description><![CDATA[[...] mxCreateUninitDoubleMatrix, mxCreateUninitNumericArray, mxCreateUninitNumericMatrix and mxGetPropertyShared. Unfortunately, mxSerialize and mxDeserialize remain among the functions that were left out, which [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] mxCreateUninitDoubleMatrix, mxCreateUninitNumericArray, mxCreateUninitNumericMatrix and mxGetPropertyShared. Unfortunately, mxSerialize and mxDeserialize remain among the functions that were left out, which [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mauricio		</title>
		<link>https://undocumentedmatlab.com/articles/accessing-private-object-properties#comment-305058</link>

		<dc:creator><![CDATA[Mauricio]]></dc:creator>
		<pubDate>Fri, 20 Dec 2013 16:23:23 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4512#comment-305058</guid>

					<description><![CDATA[Just an small additional comment on &quot;Reading private properties&quot;. If for whatever reason you do not want &lt;code&gt;s = struct(obj)&lt;/code&gt; to reveal the structure, you can define inside the methods block the method &quot;&lt;i&gt;struct&lt;/i&gt;&quot;

&lt;pre lang=&#039;matlab&#039;&gt;
methods
    function s = struct(obj)
        % ... do nothing...., or show error or...
    end
end
&lt;/pre&gt;

Then  &lt;code&gt;s = struct(obj)&lt;/code&gt; will show nothing (or an error, or...) . But there is a solution for this too: &lt;code&gt;s = builtin(&#039;struct&#039;,obj)&lt;/code&gt;.

Best regards]]></description>
			<content:encoded><![CDATA[<p>Just an small additional comment on &#8220;Reading private properties&#8221;. If for whatever reason you do not want <code>s = struct(obj)</code> to reveal the structure, you can define inside the methods block the method &#8220;<i>struct</i>&#8221;</p>
<pre lang='matlab'>
methods
    function s = struct(obj)
        % ... do nothing...., or show error or...
    end
end
</pre>
<p>Then  <code>s = struct(obj)</code> will show nothing (or an error, or&#8230;) . But there is a solution for this too: <code>s = builtin('struct',obj)</code>.</p>
<p>Best regards</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
