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

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

[Octave-bug-tracker] [bug #45174] num2str produces different results fro


From: anonymous
Subject: [Octave-bug-tracker] [bug #45174] num2str produces different results from Matlab for some corner cases
Date: Wed, 17 Jun 2015 13:22:21 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0

Follow-up Comment #4, bug #45174 (project octave):

The result I get from Matlab (R2015a) is: 


saveFile = num2str([1 2], 'sometext_%d_%d')

saveFile =

sometext_1_2


The use of sprintf is the better option. But the option with num2str was in a
Matlab Code I tried to use in Octave.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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