How can I use the BLAS and LAPACK libraries with Speedgoat and Simulink Real-Time (SLRT)?
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 23 Mär. 2023
Bearbeitet: MathWorks Support Team
am 15 Sep. 2025 um 13:59
How can I use the BLAS and LAPACK libraries with Speedgoat and Simulink Real-Time (SLRT)?
Akzeptierte Antwort
MathWorks Support Team
am 15 Sep. 2025 um 0:00
Bearbeitet: MathWorks Support Team
am 15 Sep. 2025 um 13:59
The LAPACK and BLAS libraries are already compiled and shipped by MathWorks in the Simulink Real-Time Target Support Package since MATLAB R2022a (and BLAS since R2020b).
Once the SLRT Target Support Package is installed, you will find the necessary headers and libraries in the paths shown below:
BLAS: C:\ProgramData\MATLAB\SupportPackages\R2022b\toolbox\slrealtime\target\supportpackage\qnx710\target\qnx7\usr\include\openblas
LAPACK: C:\ProgramData\MATLAB\SupportPackages\R2022b\toolbox\slrealtime\target\supportpackage\qnx710\target\qnx7\x86_64\usr\local\lib
openBLAS reference: OpenMathLib/OpenBLAS: OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version
You can use the headers and the libraries directly in your custom code/S-Function without worrying about the compilation and deployment process. Please consider this page in the doc as the main reference for integrating and using external libraries into SLRT applications:
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Block Libraries finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!