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

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

[Octave-bug-tracker] [bug #42235] "invalid conversion from string to rea


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #42235] "invalid conversion from string to real scalar" with %c
Date: Wed, 30 Apr 2014 02:01:04 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36

Update of bug #42235 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

Confirmed. I have not bisected but this is likely due to this change
(mentioned in NEWS on the default branch btw):

http://hg.savannah.gnu.org/hgweb/octave/rev/491b0adfec95

And obviously you meant printf or sprintf in your example, right? So does
Matlab do the following:


>> s = sprintf('%c', 'abcd')
s = abcd


? What about the following?


s = sprintf('%d', 'abcd')
s = sprintf('%f', 'abcd')


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42235>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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