Path: news.mathworks.com!not-for-mail
From: "Yi " <dora.zhuyi@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Pass structure data using mex
Date: Sun, 30 Dec 2012 21:19:10 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 7
Message-ID: <kbqb4e$877$1@newscl01ah.mathworks.com>
References: <kbl9sd$6rg$1@newscl01ah.mathworks.com> <kbmb5e$m57$1@newscl01ah.mathworks.com>
Reply-To: "Yi " <dora.zhuyi@gmail.com>
NNTP-Posting-Host: www-00-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1356902350 8423 172.30.248.45 (30 Dec 2012 21:19:10 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 30 Dec 2012 21:19:10 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 3602570
Xref: news.mathworks.com comp.soft-sys.matlab:785627

Thank you soooooo much Bruno!!! It solves the problem!!!

"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <kbmb5e$m57$1@newscl01ah.mathworks.com>...
> You have to make deep copy of the field because it belongs to another variable.
> Also you do not need to create the fields.
> 
> Bruno