Algorithmusbeschleunigung in MATLAB
Sie können rechenintensive Teile Ihres MATLAB® Programmcodes durch Generieren einer MEX-Funktion beschleunigen. Befolgen Sie für optimale Ergebnisse die bewährten Methoden und verwenden Sie Optimierungsstrategien.
Funktionen
codegen | Generate C/C++ code from MATLAB code |
Themen
- Generate C/C++ Code
Generate standalone C/C++ code or a C/C++ MEX function at the command line or by using the MATLAB Coder™ app.
- Accelerate MATLAB Algorithms
Accelerate MATLAB algorithms by generating MEX functions.
- Code Generation for Incremental Learning (Statistics and Machine Learning Toolbox)
Generate code that implements incremental learning for binary linear classification at the command line.
- Best Practices for Using MEX Functions to Accelerate MATLAB Algorithms
Follow best practices for using MEX functions to accelerate MATLAB algorithms.
- Profile MEX Functions by Using MATLAB Profiler
See execution times and code coverage for generated MEX functions in MATLAB Profiler.
- Control Run-Time Checks
Improve performance by disabling run-time checks.
- Optimize Generated C/C++ and MEX Code
Optimize the execution speed or memory usage of generated C/C++ and MEX code.
- Use Generated Code to Accelerate an Application Deployed with MATLAB Compiler
Use MATLAB Coder to accelerate an algorithm used by an application that you intend to deploy with MATLAB Compiler™.