[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62001] feval does not work for static class m
From: |
Richard |
Subject: |
[Octave-bug-tracker] [bug #62001] feval does not work for static class methods (does on Matlab) |
Date: |
Mon, 7 Feb 2022 07:39:52 -0500 (EST) |
Follow-up Comment #1, bug #62001 (project octave):
It is perhaps a separate bug report, but I also came across this weird
behavior while testing:
classdef test_feval_static_method_with_name_test
methods (Static)
function x = test ()
x = 1;
end
end
end
octave:11> test_feval_static_method_with_name_test.test
ans = 1.0000e+000
octave:12> feval ('test_feval_static_method_with_name_test.test')
error: Invalid call to test. Correct usage is:
-- test NAME
-- test NAME quiet|normal|verbose
-- test ("NAME", "quiet|normal|verbose", FID)
-- test ("NAME", "quiet|normal|verbose", FNAME)
-- SUCCESS = test (...)
-- [N, NMAX, NXFAIL, NBUG, NSKIP, NRTSKIP, NREGRESSION] = test (...)
-- [CODE, IDX] = test ("NAME", "grabdemo")
-- test ([], "explain", FID)
-- test ([], "explain", FNAME)
Additional help for built-in functions and operators is
available in the online version of the manual. Use the command
'doc <topic>' to search the manual index.
Help and information about Octave is also available on the WWW
at https://www.octave.org and via the help@octave.org
mailing list.
stopped in print_usage at line 86
[/usr/local/share/octave/6.4.1/m/help/print_usage.m]
86: error ("Octave:invalid-fun-call",
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62001>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/