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

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

[Octave-bug-tracker] [bug #54417] setstr function missing


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #54417] setstr function missing
Date: Wed, 1 Aug 2018 04:09:44 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

Update of bug #54417 (project octave):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 
        Operating System:                  Mac OS => Any                    

    _______________________________________________________

Follow-up Comment #1:

After typing "help setstr", Matlab r2012a says:
"setstr will be removed in a future release. Use CHAR instead."

Matlab r2018b says:
"setstr is not recommended. Use CHAR instead."

So better fix your Matlab code then :-)


If you really insist in using code in Octave that is deprecated by Matlab,
define the following function somewhere in your path, of maybe type it in
.octaverc:

function a = setstr (b)
  a = char (b);
endfunction

(Closing with "invalid")

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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