|
From: | Felipe G. Nievinski |
Subject: | [Octave-bug-tracker] [bug #50541] which() should return non-empty string for existing built-in classes/functions |
Date: | Tue, 14 Mar 2017 01:08:47 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 |
URL: <http://savannah.gnu.org/bugs/?50541> Summary: which() should return non-empty string for existing built-in classes/functions Project: GNU Octave Submitted by: fgnievinski Submitted on: Tue 14 Mar 2017 05:08:45 AM UTC Category: Octave Function Severity: 3 - Normal Priority: 5 - Normal Item Group: Matlab Compatibility Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.2.1 Operating System: Microsoft Windows _______________________________________________________ Details: In Octave we have: >> size(which('inputParser')) ans = 0 0 >> tmp = which('inputParser') tmp = It may only be a matter of assigning to the output the message which is already displayed: >> which('inputParser') 'inputParser' is a built-in function For reference, in Matlab we have: >> tmp = which('inputParser') tmp = inputParser is a built-in method >> size(which('inputParser')) ans = 1 32 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?50541> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |