|
From: | Fausto Arinos de A. Barbuto |
Subject: | Re: Functions in Octave |
Date: | Thu, 27 Aug 2015 18:19:26 +0000 (UTC) |
On Thu, Aug 27, 2015 at 18:02:56 +0000, Fausto Arinos de A. Barbuto wrote:
> Lastly, the big question: testefun.m works and I hadn't to write its
> two functions as separate files. Why?
Because testefun calls "clear" rather than "clear all" :)
You are falling prey to bug #35881 [1]. The "clear all" command clears
the functions knowledge of its own subfunctions and they can't behttps://savannah.gnu.org/bugs/?35881
called.
[1]:
--
mike
[Prev in Thread] | Current Thread | [Next in Thread] |