|
From: | Johannes Pfeifer |
Subject: | [Octave-bug-tracker] [bug #52568] str2func erroneously checks for presence of file |
Date: | Fri, 1 Dec 2017 03:45:28 -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 |
URL: <http://savannah.gnu.org/bugs/?52568> Summary: str2func erroneously checks for presence of file Project: GNU Octave Submitted by: jpfeifer Submitted on: Fri 01 Dec 2017 08:45:26 AM UTC Category: Octave Function Severity: 3 - Normal Priority: 5 - Normal Item Group: Matlab Compatibility Status: None Assigned to: None Originator Name: Johannes Pfeifer Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.2.1 Operating System: Microsoft Windows _______________________________________________________ Details: Matlab allows to use str2func on any string. Octave in contrast throws an error if the resulting function handle does not link to an existing function. str2func(['test_string']) results in error: @test_string: no function and no method found while Matlab outputs a function handle _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?52568> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |