Path: news.mathworks.com!not-for-mail
From: "Steven Lord" <slord@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: What is the largest character array that MATLAB can hold?
Date: Tue, 10 Feb 2009 15:25:43 -0500
Organization: The MathWorks, Inc.
Lines: 16
Message-ID: <gmsns7$gii$1@fred.mathworks.com>
References: <gmkkta$r6u$1@fred.mathworks.com>
Reply-To: "Steven Lord" <slord@mathworks.com>
NNTP-Posting-Host: lords.dhcp.mathworks.com
X-Trace: fred.mathworks.com 1234297544 16978 144.212.105.187 (10 Feb 2009 20:25:44 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 10 Feb 2009 20:25:44 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
Xref: news.mathworks.com comp.soft-sys.matlab:517442



"Thiago " <thiago@mathworks.com> wrote in message 
news:gmkkta$r6u$1@fred.mathworks.com...
> What is the largest character array (i.e. string) that MATLAB can hold? 
> Or, is it just a matter of computer memory?

Theoretically, look at the second output of the COMPUTER function.

Practically, yes, in most circumstances the limit is a matter of how large a 
contiguous block of memory you have available for storing the string.

-- 
Steve Lord
slord@mathworks.com