What can affect the performance of Matlab Compiler?

1 visualizzazione (ultimi 30 giorni)
Michel
Michel il 25 Lug 2013
I'm working on the porting of C Standalone Executable and C Shared Library. The programs and libraries used to run Under Unix systems. They now need to run Under Windows Server 2008 R2 OS. This is a new installation of Matlab R2013a and Visual Compiler 2010 so I'm testing the installation with Matlab provided examples (hello, triangle, etc). The compilation process works fine but it takes a very long time to produce the executable or the libray. For example, this morning I started the compilation of the matrixdriver example. After almost 4 hours, the compilation is not over yet!! What can be done to improve the compilation performance?
System info: Windows Server 2008 R2. 12 Gbytes of RAM. OS is 64-bit but Matlab and VS2010 are 32-bit for compatibility issue.

Risposte (1)

Nathan Crosty
Nathan Crosty il 25 Lug 2013
One option is to turn off compiler optimizations in
Code Generation>Build Process>>Compiler optimization level
This will result in faster builds.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by