Technical Solutions
Does the MATLAB Compiler speed up the execution time of MATLAB functions?
Date Last Modified: Friday, June 26, 2009
| Solution ID: | 1-1ARNS | |
| Product: | MATLAB Compiler | |
| Reported in Release: | R13 | |
| Platform: | All Platforms | |
| Operating System: | All OS |
Subject:
Does the MATLAB Compiler speed up the execution time of MATLAB functions?
Problem Description:
I would like to speed up functions written in MATLAB M-Code. I would like to know if MATLAB Compiler can improve performance of code.
Solution:MATLAB Compiler 4.0 (R14) encrypts M-code and wraps it in C. As a result, the source code is still interpreted at run-time, and performance of code should be the same whether run in stand-alone mode or in MATLAB. There is one important difference for compiled applications. Every time you start a compiled executable, you pay the penalty essentially of starting MATLAB. You should be aware of this when comparing performance variations. |
Related Solutions:
- What things can I do to increase the speed and memory performance of my MATLAB code?
- Can I use the MATLAB Compiler to generate C code to be used with Real-Time Workshop?
|
|
Store

