How can I make the Matlab Compiler run faster? It takes ages for it to make a sensible program.
I am currently using Microsoft Visual C++ 2008 SP1 in c:\Program Files (x86)\Microsoft Visual Studio 9.0 in mbuild -setup
Here's one tip - a large part of the time taken by MATLAB Compiler is in dependency checking for the code you're compiling. If you have a large number of toolboxes on the path, this can take a long time. You can change the list of toolboxes on the path from the Settings menu in deploytool
. Make sure that only the toolboxes your code actually uses are selected.
It may still take ages, but this can make it take slightly less ages.
Usual techniques for making anything compile faster as usually pretty cost-effective:
I don't think that the parallel computing toolbox will help you because the MATLAB compiler isn't listed as having built-in support on the website even though the coder products do.