Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Can't MEX my functions
Date: Mon, 25 Jul 2011 22:42:08 +0000 (UTC)
Organization: Rincon Research Corp
Lines: 3
Message-ID: <j0krg0$fcg$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-06-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1311633728 15760 172.30.248.38 (25 Jul 2011 22:42:08 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 25 Jul 2011 22:42:08 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2235717
Xref: news.mathworks.com comp.soft-sys.matlab:737560

I have a slow function and we just bought a license for the MATLAB compiler with the intention of converting it to MEX for speedup.  So when I try to do it I get a message that -x is no longer an option because there is no advantage due to JIT, whatever that is.  I find it inconceivable that my nested for loops written in MATLAB are as fast as they would be written in compiled C.  What the heck is going on?  

Talk about a kick in the teeth; no speedup and I need to explain to my boss why I just wasted $5000.  I hope I'm missing something.