<?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: Changing Matlab&#8217;s Command Window colors &#8211; part 2</title> <atom:link href="http://undocumentedmatlab.com/blog/changing-matlab-command-window-colors-part2/feed/" rel="self" type="application/rss+xml" /><link>http://undocumentedmatlab.com/blog/changing-matlab-command-window-colors-part2/</link> <description>Charting Matlab's unsupported hidden underbelly</description> <lastBuildDate>Thu, 09 Feb 2012 09:23:08 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1.1</generator> <item><title>By: Yair Altman</title><link>http://undocumentedmatlab.com/blog/changing-matlab-command-window-colors-part2/#comment-59071</link> <dc:creator>Yair Altman</dc:creator> <pubDate>Mon, 10 Oct 2011 15:24:33 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=249#comment-59071</guid> <description>@Rohan - Try converting your cell array into a regular array; also ensure that your array contents can be directly converted into System.Object.A better place for this and similar questions would be on &lt;a target=&quot;_blank&quot; href=&quot;http://www.StackOverflow.com&quot; rel=&quot;nofollow&quot;&gt;StackOverflow&lt;/a&gt; or the &lt;a target=&quot;_blank&quot; href=&quot;http://www.mathworks.com/matlabcentral/newsreader/&quot; rel=&quot;nofollow&quot;&gt;CSSM newsgroup&lt;/a&gt; or to directly ask MathWorks technical support. This website is not a general Matlab Q&amp;A forum...</description> <content:encoded><![CDATA[<p>@Rohan &#8211; Try converting your cell array into a regular array; also ensure that your array contents can be directly converted into System.Object.</p><p>A better place for this and similar questions would be on <a
target="_blank" href="http://www.StackOverflow.com" rel="nofollow">StackOverflow</a> or the <a
target="_blank" href="http://www.mathworks.com/matlabcentral/newsreader/" rel="nofollow">CSSM newsgroup</a> or to directly ask MathWorks technical support. This website is not a general Matlab Q&#038;A forum&#8230;</p> ]]></content:encoded> </item> <item><title>By: Rohan</title><link>http://undocumentedmatlab.com/blog/changing-matlab-command-window-colors-part2/#comment-59069</link> <dc:creator>Rohan</dc:creator> <pubDate>Mon, 10 Oct 2011 14:35:37 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=249#comment-59069</guid> <description>I am Beginner to MATLAB. By using the command NET.addAssembly i am loading .NET Assembly. Instantiating the object of Assembly&#039;s class i am invoking the methods of the class.Passing the parameter such as double, char to method of assembly class its working fine.But when i am trying to pass cell array to method of instantiated class its showing the error parameter mismatch.i have done following procedure
&lt;pre lang=&quot;matlab&quot;&gt;
s=NET.addAssembly(&#039;name of assembly&#039;)
t = s.AssemblyHandle.GetType(&#039;Class present in assembly&#039;);
obj = System.Activator.CreateInstance(t);
obj.PassCellArray(CellArray);
&lt;/pre&gt;.NET MEthod
&lt;pre lang=&quot;java&quot;&gt;
public void PassCellArray(System.Object[] dd) {}
&lt;/pre&gt;As reference from MATHWORKS, using this object passing the Cell array to method which has parameter as System.Object[].So please help me for how to pass cell array to .NET method.</description> <content:encoded><![CDATA[<p>I am Beginner to MATLAB. By using the command NET.addAssembly i am loading .NET Assembly. Instantiating the object of Assembly&#8217;s class i am invoking the methods of the class.</p><p>Passing the parameter such as double, char to method of assembly class its working fine.</p><p>But when i am trying to pass cell array to method of instantiated class its showing the error parameter mismatch.</p><p>i have done following procedure</p><div
class="wp_syntax"><div
class="code"><pre class="matlab" style="font-family:monospace;">s=NET.<span style="">addAssembly</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'name of assembly'</span><span style="color: #080;">&#41;</span>
t = s.<span style="">AssemblyHandle</span>.<span style="">GetType</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'Class present in assembly'</span><span style="color: #080;">&#41;</span>;
obj = System.<span style="">Activator</span>.<span style="">CreateInstance</span><span style="color: #080;">&#40;</span>t<span style="color: #080;">&#41;</span>;
obj.<span style="">PassCellArray</span><span style="color: #080;">&#40;</span>CellArray<span style="color: #080;">&#41;</span>;</pre></div></div><p>.NET MEthod</p><div
class="wp_syntax"><div
class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> PassCellArray<span style="color: #009900;">&#40;</span><span style="color: #003399;">System</span>.<span style="color: #003399;">Object</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> dd<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span></pre></div></div><p>As reference from MATHWORKS, using this object passing the Cell array to method which has parameter as System.Object[].</p><p>So please help me for how to pass cell array to .NET method.</p> ]]></content:encoded> </item> <item><title>By: Malcolm Lidierth</title><link>http://undocumentedmatlab.com/blog/changing-matlab-command-window-colors-part2/#comment-58999</link> <dc:creator>Malcolm Lidierth</dc:creator> <pubDate>Sun, 09 Oct 2011 16:35:26 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=249#comment-58999</guid> <description>N.B. href=&quot;&quot;
can be used add a matlab command to run when the text is clicked
href=&quot;matlab:disp(&#039;Command replaces disp(....) etc&#039;)&quot;</description> <content:encoded><![CDATA[<p>N.B. href=&#8221;"<br
/> can be used add a matlab command to run when the text is clicked<br
/> href=&#8221;matlab:disp(&#8216;Command replaces disp(&#8230;.) etc&#8217;)&#8221;</p> ]]></content:encoded> </item> <item><title>By: cprintf - display formatted color text in the Command Window &#124; Undocumented Matlab</title><link>http://undocumentedmatlab.com/blog/changing-matlab-command-window-colors-part2/#comment-710</link> <dc:creator>cprintf - display formatted color text in the Command Window &#124; Undocumented Matlab</dc:creator> <pubDate>Sat, 16 May 2009 17:46:29 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=249#comment-710</guid> <description>[...] In earlier posts I showed how to modify the Command Window (CW) text and background color, and a very limited method of displaying red (error) and blue (hyperlinked) CW messages. Since then, I was obsessed with finding a better way to CW display text in any color. After lots [...]</description> <content:encoded><![CDATA[<p>[...] In earlier posts I showed how to modify the Command Window (CW) text and background color, and a very limited method of displaying red (error) and blue (hyperlinked) CW messages. Since then, I was obsessed with finding a better way to CW display text in any color. After lots [...]</p> ]]></content:encoded> </item> <item><title>By: Ken Orr</title><link>http://undocumentedmatlab.com/blog/changing-matlab-command-window-colors-part2/#comment-539</link> <dc:creator>Ken Orr</dc:creator> <pubDate>Mon, 11 May 2009 11:51:26 +0000</pubDate> <guid
isPermaLink="false">http://undocumentedmatlab.com/?p=249#comment-539</guid> <description>Hi Yair,Clever use of the tools at hand! We would definitely like to allow users to change the color of their text in the Command Window (this is a frequent request). We&#039;re thinking about more robust highlighting mechanisms now.Depending on your needs, &lt;a href=&quot;http://www.mathworks.com/help/techdoc/matlab_env/f6-22451.html&quot; rel=&quot;nofollow&quot;&gt;publishing&lt;/a&gt; could also serve as an intermediate solution, as you could embed HTML into your output, which would then be rendered by a web browser.-Ken</description> <content:encoded><![CDATA[<p>Hi Yair,</p><p>Clever use of the tools at hand! We would definitely like to allow users to change the color of their text in the Command Window (this is a frequent request). We&#8217;re thinking about more robust highlighting mechanisms now.</p><p>Depending on your needs, <a
href="http://www.mathworks.com/help/techdoc/matlab_env/f6-22451.html" rel="nofollow">publishing</a> could also serve as an intermediate solution, as you could embed HTML into your output, which would then be rendered by a web browser.</p><p>-Ken</p> ]]></content:encoded> </item> </channel> </rss>

<!-- W3 Total Cache: Minify debug info:
Engine:             disk: basic
Theme:              b7666
Template:           single
-->
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: undocumentedmatlab.com @ 2012-02-09 06:18:33 -->

<!-- W3 Total Cache: Page cache debug info:
Engine:             disk: enhanced
Cache key:          blog/changing-matlab-command-window-colors-part2/feed/_index.xml_gzip
Caching:            enabled
Status:             not cached
Creation Time:      0.744s
Header info:
X-Pingback:         http://undocumentedmatlab.com/blog/xmlrpc.php
Set-Cookie:         wpgb_visit_last_php-default=1328793513; expires=Fri, 08-Feb-2013 13:18:33 GMT; path=/
Link:               <http://undocumentedmatlab.com/?p=249>; rel=shortlink
Content-Type:       text/xml; charset=UTF-8
Last-Modified:      Thu, 09 Feb 2012 13:18:33 GMT
Vary:               Accept-Encoding, Cookie
Expires:            Thu, 09 Feb 2012 14:18:33 GMT
Pragma:             public
Cache-Control:      public, must-revalidate, proxy-revalidate
Etag:               5f13370e6fc3db765d5f376fde0f6281
Content-Encoding:   gzip
-->
