Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: explicitly pass parameter by reference
Date: Mon, 6 Oct 2008 16:20:21 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 3
Message-ID: <gcdds5$o8j$1@fred.mathworks.com>
Reply-To: <HIDDEN>
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 1223310021 24851 172.30.248.37 (6 Oct 2008 16:20:21 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 6 Oct 2008 16:20:21 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1511669
Xref: news.mathworks.com comp.soft-sys.matlab:493849


I want to know how to pass parameters by reference? I need to pass and big chunk of data to a function, and this function does not change data.

I found an article (http://www.mathworks.com/support/solutions/data/1-15SO4.html?solution=1-15SO4) which states that Matlab will determine whether to pass by value or pass by reference automatically. I just want to confirm it.