On 28/12/17 16:41, Rik wrote:
On 12/27/2017 09:38 PM, address@hidden wrote:
I don't see a smooth transition path either. Although Matlab presents
the string class as a fundamental data type, it is actually closer to
a container data type like a cell array. In fact, by using cell
arrays of strings you can make portable code that will run in either
Octave or Matlab. Maybe this is unkind, but the principal advantage
seems to be the syntactic sugar of using parentheses '()' for indexing
rather than cell array indexing '{}'.
I believe you can also do things like:
x = "the cat " + "sat on the mat"
which is kind of handy. More like a python string.