octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #56395] text object error: invalid conversion


From: Rik
Subject: [Octave-bug-tracker] [bug #56395] text object error: invalid conversion from real matrix to real scalar
Date: Mon, 27 May 2019 11:36:55 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #2, bug #56395 (project octave):

The title() function expects a character array or a cell array of strings.  A
construct like


C = {'line1', [], 'line3'};


is a true cell array with mixed data types.  You can convert to a true cell
array of strings with the cellstr() function.


Cs = cellstr (C);
title (Cs);




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56395>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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