octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Functions in scripts: Matlab evolves


From: Nicholas Jankowski
Subject: Re: Functions in scripts: Matlab evolves
Date: Tue, 24 Jan 2017 13:49:59 -0500

On Tue, Jan 24, 2017 at 1:25 PM, Mike Miller <address@hidden> wrote:
> On Tue, Jan 24, 2017 at 15:56:17 +0100, Julien Bect wrote:
>
> Does the function f() exist in Matlab's workspace after the script
> completes? If it is locally scoped to the execution of the script only,
> that is yet another difference with Octave.


running it in 2016b, x and z are in the workspace, but f() is not.

>> f(4)
Undefined function or variable 'f'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]