Execution Speed of mex64 components in linux
Afficher commentaires plus anciens
All, I have written a GUI based application in R2011b which was compiled into a standalone application. It runs fine but its slow running under linux.
I have generated several mex64 components that run under the GUI with the gcc 4.2 compiler in linux and the current Microsoft C SDK under windows 7.
Windows 7 Matlab script function #1 27.11 sec function #2 246.9 sec.
Red Hat Matlab script function #1 33.30 sec function #2 661.81 sec
Red Hat Stand-alone app function #1 33.71 sec function #2 653.17 sec
The same code was used on all platforms. Does the gcc compiler generate non-optimized code compared to the Microsoft SDK? The difference in run times for function #2 is 2.5X... Thanks, Jim
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur MATLAB Compiler dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!