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

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

[Octave-bug-tracker] [bug #41504] New function: sprintfc


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #41504] New function: sprintfc
Date: Fri, 18 Dec 2020 17:06:51 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36

Follow-up Comment #7, bug #41504 (project octave):

1 - the original patch applies fine, but the tests fail. in Matlab 202b , the
first two tests produces errors, and the last numerical test has a third input
that seems to no longer match Matlab usage. (it should be logical, not an
array?)
2 - according to the Undocumented Matlab page, as of v2016b there is now a
`compose` function that performs all of the functions of the undocumented
sprintfc function (which is still around) and is documented at:
https://www.mathworks.com/help/matlab/ref/compose.html
(and is currently on Octave's missing function list)

I've updated the copyright docstring to current octave format, changed the
failing test so it at least passed, even if several of them should produce
errors to be matlab compatible, and attached it here as an m-file. it may be
compatible enough for anyone that needs it to allow a matlab script to run.  

recommend closing as a 'won't fix' and opening a "missing function - compose"
wishlist bug instead.

(file #50517)
    _______________________________________________________

Additional Item Attachment:

File name: sprintfc.m                     Size:2 KB
    <https://file.savannah.gnu.org/file/sprintfc.m?file_id=50517>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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