MATLAB 알고리즘 가속화
MEX 함수를 생성하여 MATLAB® 코드의 계산량이 많은 부분을 가속화합니다. 최상의 결과를 얻으려면 모범 사례를 따르고 최적화 전략을 사용하십시오.
함수
codegen | MATLAB 코드에서 C/C++ 코드 생성 |
도움말 항목
- 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.
- MATLAB 알고리즘 가속화
MEX 함수를 생성하여 MATLAB 알고리즘의 속도를 높입니다.
- 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™.