[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52568] str2func erroneously checks for presen
From: |
Johannes Pfeifer |
Subject: |
[Octave-bug-tracker] [bug #52568] str2func erroneously checks for presence of file |
Date: |
Fri, 1 Dec 2017 09:32:44 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 |
Follow-up Comment #2, bug #52568 (project octave):
Thanks for looking into this. My problem is that the check in Octave is
stricter than Matlab's, making existing Matlab code incompatible with Octave.
Matlab will of course crash once you invoke the handle to a non-existing
function. But I use a Matlab package that creates a handle from an arbitrary
string, but does not actually invoke the handle if the function specified by
the string does not (yet) exist. Of course this is not optimal, but Matlab has
no problem with this sequence of events.
I would simply like Octave to maintain Matlab compatibility, i.e. have
str2func return a handle and only throw an error once the handle to something
not existing is invoked.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52568>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52568] str2func erroneously checks for presence of file, Johannes Pfeifer, 2017/12/01
- [Octave-bug-tracker] [bug #52568] str2func erroneously checks for presence of file, Philip Nienhuis, 2017/12/01
- [Octave-bug-tracker] [bug #52568] str2func erroneously checks for presence of file,
Johannes Pfeifer <=
- [Octave-bug-tracker] [bug #52568] str2func erroneously checks for presence of file, Markus Mützel, 2017/12/01
- [Octave-bug-tracker] [bug #52568] str2func can't create a "lazy" handle to function which does not exist when str2func is executed, Rik, 2017/12/01
- [Octave-bug-tracker] [bug #52568] str2func can't create a "lazy" handle to function which does not exist when str2func is executed, Philip Nienhuis, 2017/12/02
- [Octave-bug-tracker] [bug #52568] str2func can't create a "lazy" handle to function which does not exist when str2func is executed, Johannes Pfeifer, 2017/12/02
- [Octave-bug-tracker] [bug #52568] str2func can't create a "lazy" handle to function which does not exist when str2func is executed, Philip Nienhuis, 2017/12/03
- [Octave-bug-tracker] [bug #52568] str2func can't create a "lazy" handle to function which does not exist when str2func is executed, Guillaume, 2017/12/04