Accélération des algorithmes MATLAB
Accélérez les portions de code MATLAB® qui exigent des calculs intensifs en générant une fonction MEX. Pour obtenir de meilleurs résultats, suivez les bonnes pratiques et appliquez des stratégies d’optimisation.
Fonctions
codegen | Generate C/C++ code from MATLAB code |
Rubriques
- 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™.



