octave-maintainers
[Top][All Lists]
Advanced

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

invalid conversion from string to complex N-d array


From: Judd Storrs
Subject: invalid conversion from string to complex N-d array
Date: Tue, 21 Apr 2009 19:13:03 -0400

I'm working on getting the Matlab NIFTI libraries from niftilib.sf.net running under octave. I've been able to isolate a bug as a difference between octave (both 3.0.1 and 3.1.55) and matlab:

octave:1> [ '' 65*ones(1,10) ]
error: invalid conversion from string to complex N-d array
octave:1> [ 65*ones(1,10) '' ]
error: invalid conversion from string to complex N-d array

But in matlab these succeed:

>> [ '' 65*ones(1,10) ]

ans =

AAAAAAAAAA

>> [ 65*ones(1,10) '' ]

ans =

AAAAAAAAAA


--judd

reply via email to

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