help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: array of strings?


From: Mike Miller
Subject: Re: array of strings?
Date: Thu, 19 Sep 2013 07:26:27 -0400

On Thu, Sep 19, 2013 at 01:57:47 -0700, MrOba wrote:
> with string_value() I manage to read only the first row of the matrix.
> Shouldn't go across all the matrix?

It does convert the first row only, you're not missing anything there.
I can't say what it *should* do, but that's what Octave has done. If
you want a string of all the rows, you can iterate over cellstr_value,
or you could resize the matrix and then call string_value.

-- 
mike


reply via email to

[Prev in Thread] Current Thread [Next in Thread]