|
From: | Rik |
Subject: | Re: Functions in scripts |
Date: | Tue, 24 Jan 2017 10:51:34 -0800 |
On 01/24/2017 10:25 AM,
address@hidden wrote:
What does this return in Matlab? %%%%%%%%%%%% x = 1; localfunctions () z = f(x) localfunctions () function y = f(x) y = 2 * x; end %%%%%%%%%%%% I'm interested in when Matlab adds the function to the symbol table, and Mike's question is whether it stays in the symbol table after the script finishes. --Rik |
[Prev in Thread] | Current Thread | [Next in Thread] |