Path: news.mathworks.com!newsfeed-00.mathworks.com!newscon02.news.prodigy.net!prodigy.net!news.glorb.com!news.aset.psu.edu!support1.mathforum.org!not-for-mail
From: Jeroen <jverhoeve@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: call by reference
Date: Sat, 12 Apr 2008 06:38:24 EDT
Organization: The Math Forum
Lines: 12
Message-ID: <8672860.1207996734521.JavaMail.jakarta@nitrogen.mathforum.org>
References: <ftq2lv$e97$1@fred.mathworks.com>
NNTP-Posting-Host: nitrogen.mathforum.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: support1.mathforum.org 1207996734 8997 144.118.30.135 (12 Apr 2008 10:38:54 GMT)
X-Complaints-To: news@support1.mathforum.org
NNTP-Posting-Date: Sat, 12 Apr 2008 10:38:54 +0000 (UTC)
Xref: news.mathworks.com comp.soft-sys.matlab:462555



Thanks Bruno,

This solves one of the two problems:
- call by reference

The other one remains:
- how to keep data bundled (I do it by defining my own data type) together and pass it in a time economic way as an argument.

Note: My data type consists of 10 vectors of 30 elements, together with some variables.


The package you suggest can only work with vectors and matrices, while I want to pass my own defined data types by reference.