[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54417] setstr function missing
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #54417] setstr function missing |
Date: |
Wed, 1 Aug 2018 13:40:16 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Update of bug #54417 (project octave):
Status: Invalid => Fixed
_______________________________________________________
Follow-up Comment #2:
In email, Arnaud wrote:
Based on the Matlab 2018b message, apparently the function will not be
removed.
A lot of people just want to run Matlab code on Octave and not spend hours
fixing the minute differences. They will try running some Matlab code on
Octave. It will generate errors, and they will give up telling others Octave
is not compatible with Matlab code.
Why not simply put an alias from setstr() to char(). It is a simple fix and
this would allow code to run.
We've kept isstr around for similar reasons, even though it has been
documented for more than a decade (maybe two!) that it will be removed from a
future version of Matlab. So sure, we could bring this function back from the
dead. I pushed the following changeset on stable and merged with default:
http://hg.savannah.gnu.org/hgweb/octave/rev/216321ca4cc4
That said, I want to be clear that I don't think we should go chasing every
undocumented Matlab function or feature. But this case is different: the
function does exist in Matlab and is documented, it was just marked at one
point for possible future removal.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54417>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/