|
From: | Mike Miller |
Subject: | [Octave-bug-tracker] [bug #47807] run behaves differently from Matlab on function m-files |
Date: | Fri, 29 Apr 2016 15:50:37 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0 |
Update of bug #47807 (project octave): Category: Libraries => Octave Function Severity: 3 - Normal => 1 - Wish Priority: 5 - Normal => 3 - Low Status: None => Need Info Release: 4.0.2 => dev _______________________________________________________ Follow-up Comment #2: I think this has been known and ignored for a while, but it seems simple enough to add if it's an important feature to someone. Does Matlab also change directory to the location of the function file when it is executed? What's the output for a function /some/path/foo.m function foo() disp(pwd); end Does it show an error for functions that do require arguments? Do errors occur in the same context as if the function were just called without run? Can errors be caught with try or shown with lasterr? _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?47807> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |