Path: news.mathworks.com!not-for-mail
From: "zedong 
" <zdongwu@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: How to free an array  in the function
Date: Sat, 27 Dec 2008 02:23:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 6
Message-ID: <gj43i6$l2n$1@fred.mathworks.com>
Reply-To: "zedong 
" <zdongwu@gmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1230344582 21591 172.30.248.37 (27 Dec 2008 02:23:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 27 Dec 2008 02:23:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1639198
Xref: news.mathworks.com comp.soft-sys.matlab:508861


for example:
function f()
a=ones(1000,10000);
.......%This is some code with respect to a.Now a is no longer need.Now I want to free a    %and  do some other things,What should I do?
b=zeros(1000,5000);%I must free a.
end% the end of the function