Path: news.mathworks.com!not-for-mail
From: "Sriram Swaminarayan" <sriram@lanl.gov>
Newsgroups: comp.soft-sys.matlab
Subject: create 32 bit mex files from 64 bit matlab?
Date: Fri, 2 Oct 2009 13:49:04 +0000 (UTC)
Organization: Los Alamos National Laboratory
Lines: 11
Message-ID: <ha50cg$nim$1@fred.mathworks.com>
Reply-To: "Sriram Swaminarayan" <sriram@lanl.gov>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1254491344 24150 172.30.248.35 (2 Oct 2009 13:49:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 2 Oct 2009 13:49:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1653978
Xref: news.mathworks.com comp.soft-sys.matlab:574499


platform: osx, intel
matlab: 7.9.0.529 (R2009b), 64-bit (maci64), August 12, 2009

I want to create .mexmaci files using mex, but it looks like I have no way to create them using the mex that ships with this version of matlab.  

Even if I use 'mex -arch maci ', it still only creates '.mexmaci64' files.

Is there a simple way around this, or do I have to keep a 32 bit version of matlab around to create the '.mexmaci' files?

Regards,
Sriram