octave-maintainers
[Top][All Lists]
Advanced

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

Matlab weirdness


From: Ben Abbott
Subject: Matlab weirdness
Date: Sun, 09 Jan 2011 13:50:45 -0500

Has this unexpected behavior been discussed before.


>> a = ['a', 'b', {}]

a =     'a'    'b'

>> whos a
  Name      Size            Bytes  Class    Attributes
  a         1x2               228  cell  

Apparently, Matlab does an implicit conversion to cell strings.

I assume we don't want to copy this, but I thought I'd ask.

Ben



reply via email to

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