From: Dennis on
> No.
>
> ps: suppose the string was (say) 80 Mb long, perhaps because
> it held the entire contents of a file that had been read in?

Right... Thank you for the ~useful answer.

p.s. Suppose you had the choice of, say, limiting the number of characters to display, so that it wouldn't matter how large (e.g. 80Mb...) your string actually was?
From: Dennis on
> No.
>
> ps: suppose the string was (say) 80 Mb long, perhaps because
> it held the entire contents of a file that had been read in?

Right... Thank you for the ~useful answer.

p.s. Suppose you had the choice of, say, limiting the number of characters to display, so that it wouldn't matter how large (e.g. 80Mb...) your string actually was?
From: Steven Lord on

"Dennis " <d.j.vanwithoutthispartgerwen(a)tudelft.nl> wrote in message
news:hm3bqp$sva$1(a)fred.mathworks.com...
>> No.
>>
>> ps: suppose the string was (say) 80 Mb long, perhaps because
>> it held the entire contents of a file that had been read in?
>
> Right... Thank you for the ~useful answer.
>
> p.s. Suppose you had the choice of, say, limiting the number of characters
> to display, so that it wouldn't matter how large (e.g. 80Mb...) your
> string actually was?

I'm just guessing at the context here, since the message to which you're
replying seems to have expired from the news server, but from the subject
I'm guessing you have a cell array with a long char array in one of the
cells and you want to see the entire contents of that cell rather than
simply the description that gives the number of elements which is what
currently happens:

>> c = {repmat('abcdefghijklmnopqrstuvwxyz', 1, 10)}

c =

[1x260 char]

To see the contents of the cell, index into it with curly brace indexing:

>> c{1}

There is no way to change how MATLAB displays strings in cells by default,
except by overloading the display methods for cells -- and like modifying
the behavior of core functions like that for any built-in data type, that
could have far-reaching impact. I don't recommend it.

I recommend you contact Technical Support and describe what you're trying to
do that leads you to want to make this change. They can capture it in our
enhancement database (using your use case as motivation in the request) or
perhaps give you an alternative method to do what you want, or something
close to it.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ