<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/244029</link>
    <title>MATLAB Central Newsreader - What is the largest character array that MATLAB can hold?</title>
    <description>Feed for thread: What is the largest character array that MATLAB can hold?</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sat, 07 Feb 2009 18:46:02 -0500</pubDate>
      <title>What is the largest character array that MATLAB can hold?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/244029#626856</link>
      <author>Thiago </author>
      <description>What is the largest character array (i.e. string) that MATLAB can hold? Or, is it just a matter of computer memory?&lt;br&gt;
&lt;br&gt;
Thanks!</description>
    </item>
    <item>
      <pubDate>Sat, 07 Feb 2009 19:22:02 -0500</pubDate>
      <title>Re: What is the largest character array that MATLAB can hold?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/244029#626860</link>
      <author>Jos </author>
      <description>&quot;Thiago &quot; &amp;lt;thiago@mathworks.com&amp;gt; wrote in message &amp;lt;gmkkta$r6u$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; What is the largest character array (i.e. string) that MATLAB can hold? Or, is it just a matter of computer memory?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks!&lt;br&gt;
&lt;br&gt;
You may have to wait for a while ....&lt;br&gt;
&lt;br&gt;
% Don't try this at home ...&lt;br&gt;
c = '' ;&lt;br&gt;
try&lt;br&gt;
&amp;nbsp;&amp;nbsp;while(1)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;c = [c 'x'] ; % increase the string&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pause(0.001) ; % allow for Ctrl-C&lt;br&gt;
&amp;nbsp;&amp;nbsp;end&lt;br&gt;
catch&lt;br&gt;
&amp;nbsp;&amp;nbsp;disp(length(c)) ;&lt;br&gt;
end&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Jos</description>
    </item>
    <item>
      <pubDate>Sat, 07 Feb 2009 22:50:12 -0500</pubDate>
      <title>Re: What is the largest character array that MATLAB can hold?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/244029#626894</link>
      <author>ImageAnalyst</author>
      <description>Thiago&lt;br&gt;
Type memory at the command line and see what it says is the largest&lt;br&gt;
array in terms of megabytes.</description>
    </item>
    <item>
      <pubDate>Tue, 10 Feb 2009 20:25:43 -0500</pubDate>
      <title>Re: What is the largest character array that MATLAB can hold?</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/244029#627468</link>
      <author>Steven Lord</author>
      <description>&lt;br&gt;
&quot;Thiago &quot; &amp;lt;thiago@mathworks.com&amp;gt; wrote in message &lt;br&gt;
news:gmkkta$r6u$1@fred.mathworks.com...&lt;br&gt;
&amp;gt; What is the largest character array (i.e. string) that MATLAB can hold? &lt;br&gt;
&amp;gt; Or, is it just a matter of computer memory?&lt;br&gt;
&lt;br&gt;
Theoretically, look at the second output of the COMPUTER function.&lt;br&gt;
&lt;br&gt;
Practically, yes, in most circumstances the limit is a matter of how large a &lt;br&gt;
contiguous block of memory you have available for storing the string.&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
Steve Lord&lt;br&gt;
slord@mathworks.com </description>
    </item>
  </channel>
</rss>

