|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #37521] Not sure of Matlab allows passing arguments as well. |
Date: | Sun, 07 Oct 2012 14:13:40 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1 |
URL: <http://savannah.gnu.org/bugs/?37521> Summary: Not sure of Matlab allows passing arguments as well. Project: GNU Octave Submitted by: None Submitted on: Sun 07 Oct 2012 02:13:39 PM UTC Category: Interpreter Severity: 3 - Normal Priority: 5 - Normal Item Group: Matlab Compatibility Status: None Assigned to: None Originator Name: Clemens Buchacher Originator Email: address@hidden Open/Closed: Open Discussion Lock: Any Release: 3.6.1 Operating System: Any _______________________________________________________ Details: Tested on computer('arch'): mingw32-i686 and gnu-linux-x86_64. Calling clear('functions') in a function causes all subfunctions to become undefined. $ cat <<EOF >subfunction.m function subfunction() clear functions; subfunction_1(); function subfunction_1() fprintf('hi\n'); EOF $ octave > subfunction error: `subfunction_1' undefined near line 4 column 1 error: called from: error: C:\...\subfunction.m at line 4, column 1 Expected output is 'hi'. (Tested with Matlab R2011b) _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?37521> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |