Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I make Matlab Compiler run faster?

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

like image 416
Andrey Rubshtein Avatar asked Dec 19 '11 10:12

Andrey Rubshtein


1 Answers

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.

like image 107
Sam Roberts Avatar answered Sep 30 '22 14:09

Sam Roberts