<?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 for Undocumented Matlab	</title>
	<atom:link href="https://undocumentedmatlab.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Wed, 16 Jul 2025 14:39:04 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		Comment on GUI integrated browser control by Seth		</title>
		<link>https://undocumentedmatlab.com/articles/gui-integrated-browser-control#comment-526940</link>

		<dc:creator><![CDATA[Seth]]></dc:creator>
		<pubDate>Wed, 16 Jul 2025 14:39:04 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=847#comment-526940</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/gui-integrated-browser-control#comment-516669&quot;&gt;Seth&lt;/a&gt;.

@Yair @Collin,

I figured out a sort of work around to pass the information i needed to MATLAB in the newer versions that use the cef browser. I just pass a string of number IDs seperated by a comma. In a javascript function, I collect the text I need from the HTML browser input, create a temporary &quot;textarea&quot; element, write the text in that element, copy that text to the clipboard, and read the clipboard text with MATLAB. I can trigger the function from either HTML or MATLAB click but it is more stable from the MATLAB side. You do need to override the focusable attribute of the MATLAB side java browser like here (https://undocumentedmatlab.com/articles/fixing-a-java-focus-problem).

example javascript code

needed_text = &quot;Hello&quot;;
const temp = document.createElement(&quot;textarea&quot;);
temp.value = needed_text;
temp.style.position = &quot;fixed&quot;;
document.body.appendChild(temp);
temp.focus();
temp.select();
document.execCommand(&quot;copy&quot;);
document.body.removeChild(temp);]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/gui-integrated-browser-control#comment-516669">Seth</a>.</p>
<p>@Yair @Collin,</p>
<p>I figured out a sort of work around to pass the information i needed to MATLAB in the newer versions that use the cef browser. I just pass a string of number IDs seperated by a comma. In a javascript function, I collect the text I need from the HTML browser input, create a temporary &#8220;textarea&#8221; element, write the text in that element, copy that text to the clipboard, and read the clipboard text with MATLAB. I can trigger the function from either HTML or MATLAB click but it is more stable from the MATLAB side. You do need to override the focusable attribute of the MATLAB side java browser like here (<a href="https://undocumentedmatlab.com/articles/fixing-a-java-focus-problem" rel="ugc">https://undocumentedmatlab.com/articles/fixing-a-java-focus-problem</a>).</p>
<p>example javascript code</p>
<p>needed_text = &#8220;Hello&#8221;;<br />
const temp = document.createElement(&#8220;textarea&#8221;);<br />
temp.value = needed_text;<br />
temp.style.position = &#8220;fixed&#8221;;<br />
document.body.appendChild(temp);<br />
temp.focus();<br />
temp.select();<br />
document.execCommand(&#8220;copy&#8221;);<br />
document.body.removeChild(temp);</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on GUI integrated browser control by Seth		</title>
		<link>https://undocumentedmatlab.com/articles/gui-integrated-browser-control#comment-526932</link>

		<dc:creator><![CDATA[Seth]]></dc:creator>
		<pubDate>Mon, 14 Jul 2025 16:43:18 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=847#comment-526932</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/gui-integrated-browser-control#comment-520862&quot;&gt;Nicholas&lt;/a&gt;.

@Nicholas

I finally figured out a workaround for communicating what I need back to MATLAB in version 2024b using javascript in the HTML browser. Since I was able to get that to work, I next needed to get it compiled. 

It worked for me to just replace both the jar and jarext folders in the &quot;C:\Program Files\MATLAB\MATLAB Runtime\R2024b\java&quot; folder with the ones in the &quot;C:\Program Files\MATLAB\R2024b\java&quot; folder. You also have to copy the classpath.txt file from the &quot;C:\Program Files\MATLAB\R2024b\toolbox\local&quot; to the &quot;C:\Program Files\MATLAB\MATLAB Runtime\R2024b\toolbox\local&quot; folder. 

There is probably only a certain set of these java files that are necessary for it to work but I just wanted to make sure it worked before traversing down the rabbit trail of missing java classes.

Now I just need to create a wrapper installer for the user to do this on installation. I could probably build it in to the startup of the compiled application but that would probably require an administrator to open the software once after installation.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/gui-integrated-browser-control#comment-520862">Nicholas</a>.</p>
<p>@Nicholas</p>
<p>I finally figured out a workaround for communicating what I need back to MATLAB in version 2024b using javascript in the HTML browser. Since I was able to get that to work, I next needed to get it compiled. </p>
<p>It worked for me to just replace both the jar and jarext folders in the &#8220;C:\Program Files\MATLAB\MATLAB Runtime\R2024b\java&#8221; folder with the ones in the &#8220;C:\Program Files\MATLAB\R2024b\java&#8221; folder. You also have to copy the classpath.txt file from the &#8220;C:\Program Files\MATLAB\R2024b\toolbox\local&#8221; to the &#8220;C:\Program Files\MATLAB\MATLAB Runtime\R2024b\toolbox\local&#8221; folder. </p>
<p>There is probably only a certain set of these java files that are necessary for it to work but I just wanted to make sure it worked before traversing down the rabbit trail of missing java classes.</p>
<p>Now I just need to create a wrapper installer for the user to do this on installation. I could probably build it in to the startup of the compiled application but that would probably require an administrator to open the software once after installation.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Explicit multi-threading in Matlab part 3 by Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/explicit-multi-threading-in-matlab-part3#comment-526793</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Fri, 06 Jun 2025 12:35:37 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4686#comment-526793</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/explicit-multi-threading-in-matlab-part3#comment-526791&quot;&gt;Eric&lt;/a&gt;.

@Eric - I suspect the most likely cause is that you&#039;re using R2024b in which the memory model is different from the one used in 2014 when I wrote the original article (over 10 years and ~25 Matlab releases ago!). On R2018a or newer you should avoid using the &lt;code&gt;mxGetPr()&lt;/code&gt; method, or at the very least mex-compile using the &lt;code&gt;-R2017b&lt;/code&gt; flag. See &lt;a href=&quot;https://www.mathworks.com/help/matlab/apiref/mxgetpr.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow ugc&quot;&gt;https://www.mathworks.com/help/matlab/apiref/mxgetpr.html&lt;/a&gt; and &lt;a href=&quot;https://undocumentedmatlab.com/articles/multi-threaded-mex&quot; target=&quot;_blank&quot; rel=&quot;ugc&quot;&gt;https://undocumentedmatlab.com/articles/multi-threaded-mex&lt;/a&gt; for details. Using a bad reference pointer returned by &lt;code&gt;mxGetPr()&lt;/code&gt; may well crash the program.

Possible other causes:
 1) You&#039;re using a pre-compiled version of the program that was compiled on another computer that has a non-100%-compatible compiler, or perhaps a different version of Matlab or &lt;i&gt;libmex.dll&lt;/i&gt; in the compiled vs. run-time computers.
 2) You did not trap your code in a try-catch block. The code calls &lt;code&gt;mexErrMsgIdAndTxt()&lt;/code&gt; and this raises an exception that crashes your program since the exception is apparently uncaught. Take a look at the &lt;i&gt;myPosixThread.c&lt;/i&gt; source code.
 3) Perhaps in R2024b the interface of the &lt;code&gt;mexErrMsgIdAndTxt()&lt;/code&gt; MEX function has changed since the time that I wrote the article in 2014. Check your local &lt;i&gt;mex.h&lt;/i&gt; file.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/explicit-multi-threading-in-matlab-part3#comment-526791">Eric</a>.</p>
<p>@Eric &#8211; I suspect the most likely cause is that you&#8217;re using R2024b in which the memory model is different from the one used in 2014 when I wrote the original article (over 10 years and ~25 Matlab releases ago!). On R2018a or newer you should avoid using the <code>mxGetPr()</code> method, or at the very least mex-compile using the <code>-R2017b</code> flag. See <a href="https://www.mathworks.com/help/matlab/apiref/mxgetpr.html" target="_blank" rel="nofollow ugc">https://www.mathworks.com/help/matlab/apiref/mxgetpr.html</a> and <a href="https://undocumentedmatlab.com/articles/multi-threaded-mex" target="_blank" rel="ugc">https://undocumentedmatlab.com/articles/multi-threaded-mex</a> for details. Using a bad reference pointer returned by <code>mxGetPr()</code> may well crash the program.</p>
<p>Possible other causes:<br />
 1) You&#8217;re using a pre-compiled version of the program that was compiled on another computer that has a non-100%-compatible compiler, or perhaps a different version of Matlab or <i>libmex.dll</i> in the compiled vs. run-time computers.<br />
 2) You did not trap your code in a try-catch block. The code calls <code>mexErrMsgIdAndTxt()</code> and this raises an exception that crashes your program since the exception is apparently uncaught. Take a look at the <i>myPosixThread.c</i> source code.<br />
 3) Perhaps in R2024b the interface of the <code>mexErrMsgIdAndTxt()</code> MEX function has changed since the time that I wrote the article in 2014. Check your local <i>mex.h</i> file.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Explicit multi-threading in Matlab part 3 by Eric		</title>
		<link>https://undocumentedmatlab.com/articles/explicit-multi-threading-in-matlab-part3#comment-526791</link>

		<dc:creator><![CDATA[Eric]]></dc:creator>
		<pubDate>Thu, 05 Jun 2025 18:59:11 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4686#comment-526791</guid>

					<description><![CDATA[I am having trouble running the myPosixThread mex-function. MATLAB crashes when I run it the first time or may be at the 2nd and third time. For successful execution, file is successfully created. Can you advise what could have gone wrong? I do see another pthreadVC2.dll in the MinGW compiler, I tried deleting it but still face the same issue. 

Unhandled C++ exception detected at 2025-06-05 11:32:12 -0700
&lt;code&gt;
% Configuration:
%   Crash Decoding           : Disabled - No sandbox or build area path
%   Crash Mode               : continue (default)
%   Default Encoding         : UTF-8
%   Deployed                 : false
%   Graphics Driver          : Uninitialized hardware 
%   Graphics card 1          : NVIDIA ( 0x10de ) NVIDIA RTX 2000 Ada Generation Version 32.0.15.5612 (2024-6-25)
%   Graphics card 2          : Microsoft ( 0x0 ) Microsoft Remote Display Adapter Version 10.0.19041.5794 (2006-6-21)
%   Java Version             : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
%   MATLAB Architecture      : win64
%   MATLAB Entitlement ID    : 98xxxxx
%   MATLAB Root              : C:\Program Files\MATLAB\R2024b
%   MATLAB Version           : 24.2.0.2773142 (R2024b) Update 2
%   OpenGL                   : hardware
%   Operating System         : Microsoft Windows 10 Enterprise
%   Process ID               : 14612
%   Processor ID             : x86 Family 25 Model 24 Stepping 1, AuthenticAMD
%   Session Key              : 1b61df14-e0d5-49bd-9d0c-9157xxxxxx
%   Window System            : Version 10.0 (Build 19045)
% 
% Fault Count: 1
% 
% Abnormal termination:
% Unhandled C++ exception
% 
% Current Thread: &#039;&#039; id 29128
% 
% Register State (from fault):
%   RAX = 0000000000000000  RBX = 00007ff936a6b468
%   RCX = 0000000000000000  RDX = 0000000000000000
%   RSP = 00000070073fd7f0  RBP = 00000070073ffad9
%   RSI = 00000070073fd998  RDI = 0000000019930520
% 
%    R8 = 0000000000000000   R9 = 0000000000000000
%   R10 = 0000000000000000  R11 = 0000000000000000
%   R12 = 0000000000000000  R13 = 0000000000000000
%   R14 = 0000000000000000  R15 = 0000000000000000
% 
%   RIP = 00007ff9d743af29  EFL = 00000206
% 
%    CS = 0033   FS = 0053   GS = 002b
% 
% Stack Trace (from fault):
% [  0] 0x00007ff9d743af29                 C:\WINDOWS\System32\KERNELBASE.dll+00241449 RaiseException+00000105
% [  1] 0x00007ff9ce896720 C:\Program Files\MATLAB\R2024b\bin\win64\VCRUNTIME140.dll+00026400 CxxThrowException+00000144
% [  2] 0x00007ff9369f529c C:\Program Files\MATLAB\R2024b\bin\win64\libmex.dll+00545436 mexErrMsgIdAndTxt_800+00000220
% [  3] 0x00007ff8f8c0112c C:\Users\Eric\Documents\MATLAB\PODs\myPosixThread.mexw64+00004396 mexFunction+00000300
% [  4] 0x00007ff8f8be65bc C:\Program Files\MATLAB\R2024b\bin\win64\pthreadVC2.dll+00026044 pthread_key_delete+00020828
% [  5] 0x00007ff9d7751bb2                   C:\WINDOWS\System32\ucrtbase.dll+00138162 configthreadlocale+00000146
% [  6] 0x00007ff9d98a7374                   C:\WINDOWS\System32\KERNEL32.DLL+00095092 BaseThreadInitThunk+00000020
% [  7] 0x00007ff9d9c3cc91                      C:\WINDOWS\SYSTEM32\ntdll.dll+00314513 RtlUserThreadStart+00000033
&lt;/code&gt;]]></description>
			<content:encoded><![CDATA[<p>I am having trouble running the myPosixThread mex-function. MATLAB crashes when I run it the first time or may be at the 2nd and third time. For successful execution, file is successfully created. Can you advise what could have gone wrong? I do see another pthreadVC2.dll in the MinGW compiler, I tried deleting it but still face the same issue. </p>
<p>Unhandled C++ exception detected at 2025-06-05 11:32:12 -0700<br />
<code><br />
% Configuration:<br />
%   Crash Decoding           : Disabled - No sandbox or build area path<br />
%   Crash Mode               : continue (default)<br />
%   Default Encoding         : UTF-8<br />
%   Deployed                 : false<br />
%   Graphics Driver          : Uninitialized hardware<br />
%   Graphics card 1          : NVIDIA ( 0x10de ) NVIDIA RTX 2000 Ada Generation Version 32.0.15.5612 (2024-6-25)<br />
%   Graphics card 2          : Microsoft ( 0x0 ) Microsoft Remote Display Adapter Version 10.0.19041.5794 (2006-6-21)<br />
%   Java Version             : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode<br />
%   MATLAB Architecture      : win64<br />
%   MATLAB Entitlement ID    : 98xxxxx<br />
%   MATLAB Root              : C:\Program Files\MATLAB\R2024b<br />
%   MATLAB Version           : 24.2.0.2773142 (R2024b) Update 2<br />
%   OpenGL                   : hardware<br />
%   Operating System         : Microsoft Windows 10 Enterprise<br />
%   Process ID               : 14612<br />
%   Processor ID             : x86 Family 25 Model 24 Stepping 1, AuthenticAMD<br />
%   Session Key              : 1b61df14-e0d5-49bd-9d0c-9157xxxxxx<br />
%   Window System            : Version 10.0 (Build 19045)<br />
%<br />
% Fault Count: 1<br />
%<br />
% Abnormal termination:<br />
% Unhandled C++ exception<br />
%<br />
% Current Thread: '' id 29128<br />
%<br />
% Register State (from fault):<br />
%   RAX = 0000000000000000  RBX = 00007ff936a6b468<br />
%   RCX = 0000000000000000  RDX = 0000000000000000<br />
%   RSP = 00000070073fd7f0  RBP = 00000070073ffad9<br />
%   RSI = 00000070073fd998  RDI = 0000000019930520<br />
%<br />
%    R8 = 0000000000000000   R9 = 0000000000000000<br />
%   R10 = 0000000000000000  R11 = 0000000000000000<br />
%   R12 = 0000000000000000  R13 = 0000000000000000<br />
%   R14 = 0000000000000000  R15 = 0000000000000000<br />
%<br />
%   RIP = 00007ff9d743af29  EFL = 00000206<br />
%<br />
%    CS = 0033   FS = 0053   GS = 002b<br />
%<br />
% Stack Trace (from fault):<br />
% [  0] 0x00007ff9d743af29                 C:\WINDOWS\System32\KERNELBASE.dll+00241449 RaiseException+00000105<br />
% [  1] 0x00007ff9ce896720 C:\Program Files\MATLAB\R2024b\bin\win64\VCRUNTIME140.dll+00026400 CxxThrowException+00000144<br />
% [  2] 0x00007ff9369f529c C:\Program Files\MATLAB\R2024b\bin\win64\libmex.dll+00545436 mexErrMsgIdAndTxt_800+00000220<br />
% [  3] 0x00007ff8f8c0112c C:\Users\Eric\Documents\MATLAB\PODs\myPosixThread.mexw64+00004396 mexFunction+00000300<br />
% [  4] 0x00007ff8f8be65bc C:\Program Files\MATLAB\R2024b\bin\win64\pthreadVC2.dll+00026044 pthread_key_delete+00020828<br />
% [  5] 0x00007ff9d7751bb2                   C:\WINDOWS\System32\ucrtbase.dll+00138162 configthreadlocale+00000146<br />
% [  6] 0x00007ff9d98a7374                   C:\WINDOWS\System32\KERNEL32.DLL+00095092 BaseThreadInitThunk+00000020<br />
% [  7] 0x00007ff9d9c3cc91                      C:\WINDOWS\SYSTEM32\ntdll.dll+00314513 RtlUserThreadStart+00000033<br />
</code></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Customizing uifigures part 1 by Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-526736</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Fri, 23 May 2025 15:23:08 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6554#comment-526736</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-526631&quot;&gt;SylvanoMTL&lt;/a&gt;.

@SylvanoMTL - try to set the uifigure&#039;s position to (-1000,-1000,100,100) - this will hide the figure, although the user will still see something in the Desktop taskbar.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-526631">SylvanoMTL</a>.</p>
<p>@SylvanoMTL &#8211; try to set the uifigure&#8217;s position to (-1000,-1000,100,100) &#8211; this will hide the figure, although the user will still see something in the Desktop taskbar.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Customizing uifigures part 1 by SylvanoMTL		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-uifigures-part-1#comment-526631</link>

		<dc:creator><![CDATA[SylvanoMTL]]></dc:creator>
		<pubDate>Wed, 07 May 2025 19:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6554#comment-526631</guid>

					<description><![CDATA[Thanks for this post, I am using the uialert which is a real pain as it always need a uifigure. The uifigure is relatively hugly and the uialert can be closed by closing the figure. There is no way to set the uifigure Visibility to &quot;off&quot; as it hides the uialert. 
Resizing the uifigure to the uialert size manually is doable but painful. Especially the title bar is still visible. 
Any way to work around this?]]></description>
			<content:encoded><![CDATA[<p>Thanks for this post, I am using the uialert which is a real pain as it always need a uifigure. The uifigure is relatively hugly and the uialert can be closed by closing the figure. There is no way to set the uifigure Visibility to &#8220;off&#8221; as it hides the uialert.<br />
Resizing the uifigure to the uialert size manually is doable but painful. Especially the title bar is still visible.<br />
Any way to work around this?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on rmfield performance by Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/rmfield-performance#comment-526300</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 16 Jan 2025 15:29:56 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6427#comment-526300</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/rmfield-performance#comment-526298&quot;&gt;tommsch&lt;/a&gt;.

I agree, you have a good point :-)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/rmfield-performance#comment-526298">tommsch</a>.</p>
<p>I agree, you have a good point 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Minimize/maximize figure window by Alexander L		</title>
		<link>https://undocumentedmatlab.com/articles/minimize-maximize-figure-window#comment-526299</link>

		<dc:creator><![CDATA[Alexander L]]></dc:creator>
		<pubDate>Thu, 16 Jan 2025 14:38:59 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2310#comment-526299</guid>

					<description><![CDATA[For me warning concerning about removing JFrame displayed even if I wrap gcf in &lt;i&gt;handle()&lt;/i&gt;: 

warning(&#039;off&#039;, &#039;MATLAB:HandleGraphics:ObsoletedProperty:JavaFrame&#039;)
jFrame = get(handle(gcf), &#039;JavaFrame&#039;)
&#039;Warning: The JavaFrame figure property will be removed in a future release. For more information see &lt;a href=&quot;https://www.mathworks.com/products/matlab/app-designer/java-swing-alternatives.html&quot; rel=&quot;nofollow ugc&quot;&gt;UI Alternatives for MATLAB Apps&lt;/a&gt; on mathworks.com.&#039;
jFrame =
com.mathworks.hg.peer.HG2FigurePeer@82c57b3


Workaround for silencing this warning is to issue
warning(&#039;off&#039;, &#039;MATLAB:ui:javaframe:PropertyToBeRemoved&#039;)

before executing &lt;i&gt;get(handle(gcf), &#039;JavaFrame&#039;)&lt;/i&gt; call.

I&#039;m using Matlab R2024a, but it is seems that it is actual at least for Matlab R2019b (https://neuroimage.usc.edu/forums/t/silencing-matlab-warning-messages-about-javacomponent/22305/2).]]></description>
			<content:encoded><![CDATA[<p>For me warning concerning about removing JFrame displayed even if I wrap gcf in <i>handle()</i>: </p>
<p>warning(&#8216;off&#8217;, &#8216;MATLAB:HandleGraphics:ObsoletedProperty:JavaFrame&#8217;)<br />
jFrame = get(handle(gcf), &#8216;JavaFrame&#8217;)<br />
&#8216;Warning: The JavaFrame figure property will be removed in a future release. For more information see <a href="https://www.mathworks.com/products/matlab/app-designer/java-swing-alternatives.html" rel="nofollow ugc">UI Alternatives for MATLAB Apps</a> on mathworks.com.&#8217;<br />
jFrame =<br />
com.mathworks.hg.peer.HG2FigurePeer@82c57b3</p>
<p>Workaround for silencing this warning is to issue<br />
warning(&#8216;off&#8217;, &#8216;MATLAB:ui:javaframe:PropertyToBeRemoved&#8217;)</p>
<p>before executing <i>get(handle(gcf), &#8216;JavaFrame&#8217;)</i> call.</p>
<p>I&#8217;m using Matlab R2024a, but it is seems that it is actual at least for Matlab R2019b (<a href="https://neuroimage.usc.edu/forums/t/silencing-matlab-warning-messages-about-javacomponent/22305/2" rel="nofollow ugc">https://neuroimage.usc.edu/forums/t/silencing-matlab-warning-messages-about-javacomponent/22305/2</a>).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on rmfield performance by tommsch		</title>
		<link>https://undocumentedmatlab.com/articles/rmfield-performance#comment-526298</link>

		<dc:creator><![CDATA[tommsch]]></dc:creator>
		<pubDate>Thu, 16 Jan 2025 14:30:49 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6427#comment-526298</guid>

					<description><![CDATA[I suggest the name `rmfield_fast`, because after some time one usually forgot that there exists a fast version of `rmfield`. But, if &quot;fast&quot; is appended at the end, then the intellisense-thingy of Matlab will show you the function `rmfield_fast` whenever you type `rmfield`.]]></description>
			<content:encoded><![CDATA[<p>I suggest the name `rmfield_fast`, because after some time one usually forgot that there exists a fast version of `rmfield`. But, if &#8220;fast&#8221; is appended at the end, then the intellisense-thingy of Matlab will show you the function `rmfield_fast` whenever you type `rmfield`.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Serializing/deserializing Matlab data by Cookie		</title>
		<link>https://undocumentedmatlab.com/articles/serializing-deserializing-matlab-data#comment-525412</link>

		<dc:creator><![CDATA[Cookie]]></dc:creator>
		<pubDate>Mon, 23 Sep 2024 19:38:55 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4583#comment-525412</guid>

					<description><![CDATA[If you have the parallel toolbox there is a method &lt;code&gt;byteArray = distcompserialize64(myData)&lt;/code&gt; which appears to function the same as &lt;b&gt;&lt;i&gt;getByteStreamFromArray()&lt;/i&gt;&lt;/b&gt;&#062; but does not seem to have data size limitations.

&lt;em&gt;MATLAB\R2017b\toolbox\distcomp\distcomp\distcompserialize64.mexw64&lt;/em&gt;

There is a function &lt;b&gt;&lt;i&gt;distcompdeserialize()&lt;/i&gt;&lt;/b&gt; which reconstructs the matlab data from the bytes. Fwiw, &lt;b&gt;&lt;i&gt;getArrayFromByteStream()&lt;/i&gt;&lt;/b&gt; appears to work on the serialized bytes produced by &lt;b&gt;&lt;i&gt;distcompserialize64&lt;/i&gt;&lt;/b&gt; as well.  Performance seems to be equivalent for both &lt;b&gt;&lt;i&gt;discompdeserialize()&lt;/i&gt;&lt;/b&gt; and &lt;b&gt;&lt;i&gt;getArrayFromByteStream()&lt;/i&gt;&lt;/b&gt;.]]></description>
			<content:encoded><![CDATA[<p>If you have the parallel toolbox there is a method <code>byteArray = distcompserialize64(myData)</code> which appears to function the same as <b><i>getByteStreamFromArray()</i></b>&gt; but does not seem to have data size limitations.</p>
<p><em>MATLAB\R2017b\toolbox\distcomp\distcomp\distcompserialize64.mexw64</em></p>
<p>There is a function <b><i>distcompdeserialize()</i></b> which reconstructs the matlab data from the bytes. Fwiw, <b><i>getArrayFromByteStream()</i></b> appears to work on the serialized bytes produced by <b><i>distcompserialize64</i></b> as well.  Performance seems to be equivalent for both <b><i>discompdeserialize()</i></b> and <b><i>getArrayFromByteStream()</i></b>.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
