Update MATLAB's MKL
Intel's current MKL version is 11.3.1, while MATLAB uses version 11.1.1. If you would like to use the latest version with MATLAB, you can use the batch script to automate the process. To execute via cmd.exe on Windows, the text commands are
cd "C:\Program Files (x86)\Intel\Composer XE 2015\mkl\bin\"
@call mklvars.bat intel64 && set BLAS_VERSION=mkl_rt.dll && set LAPACK_VERSION=mkl_rt.dll
"C:\Program Files\MATLAB\R2014b\bin\matlab.exe"
You may need to modify the program locations. If you start MATLAB via it's usual start menu shortcut, MATLAB will use the version of MKL that it shipped with. Thus you can use both the default MKL version (by starting MATLAB like you're used to) or the current MKL version with the cmd script. To verify your MKL version, type "version -blas" and "version -lapack" in MATLAB.
In my tests, 11.3.1 speeds up MATLAB's BLAS routines by about 20%.
Zitieren als
Philip (2024). Update MATLAB's MKL (https://www.mathworks.com/matlabcentral/fileexchange/48863-update-matlab-s-mkl), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Robotics and Autonomous Systems > Sensor Fusion and Tracking Toolbox > Trajectory and Scenario Generation >
- Radar > Sensor Fusion and Tracking Toolbox > Trajectory and Scenario Generation >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.3.0.0 | Updated description to include performance improvements. |
||
1.2.0.0 | Edited text |
||
1.1.0.0 | Edited text. |
||
1.0.0.0 |