What can affect the performance of Matlab Compiler?
显示 更早的评论
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.
回答(1 个)
Nathan Crosty
2013-7-25
0 个投票
One option is to turn off compiler optimizations in
Code Generation>Build Process>>Compiler optimization level
This will result in faster builds.
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Compiler 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!