Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!g23g2000yqh.googlegroups.com!not-for-mail
From: Izzy <iskandarprins@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: C++ and Matlab
Date: Wed, 4 Nov 2009 06:07:48 -0800 (PST)
Organization: http://groups.google.com
Lines: 8
Message-ID: <79efd49c-346d-40b2-a663-67f754b7b8da@g23g2000yqh.googlegroups.com>
NNTP-Posting-Host: 91.212.0.61
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1257343668 9072 127.0.0.1 (4 Nov 2009 14:07:48 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 4 Nov 2009 14:07:48 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: g23g2000yqh.googlegroups.com; posting-host=91.212.0.61; 
	posting-account=6K5KdwoAAACF8TN4oxGQ4_TLCe8E-x2S
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 
	2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 
	3.0.4506.2152; .NET CLR 3.5.30729; MEGAUPLOAD 3.0; OfficeLiveConnector.1.3; 
	OfficeLivePatch.0.0; InfoPath.2),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:582372


Hi,

If i create a singleton object in c++ code and send it into matlab and
use it there, does the singleton share the same memory or are there 2
singelton around, one in c++ memory space and one in matlab memory
space?

Thanks