Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: much faster MATLAB
Date: Tue, 7 Oct 2008 00:47:03 +0000 (UTC)
Organization: Yale University School of Medicine
Lines: 11
Message-ID: <gcebi7$otk$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1223340423 25524 172.30.248.37 (7 Oct 2008 00:47:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 7 Oct 2008 00:47:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 7613
Xref: news.mathworks.com comp.soft-sys.matlab:493930


All,

I have been using MATLAB for many years now but finally its speed has become a major limiting factor.  As time has gone on, large segments of my code are no longer in need of further development (though other segments are). These same segments are the ones that consume most of the computation time. 

Mex files are the solution I suppose; however the last time I programmed in Fortran was 30 years ago, and in C, never. In reading about mex files, it sounds daunting for a basically amateur (in terms of skills) programmer like me. 

In a broad sense, what would be the best approach to substantially (at least 10x) speed up these unchanging swaths of code, for someone who is not a programmer?  I'd be able to invest in a solution within reason.

Thanks