How can I use the BLAS and LAPACK libraries with Speedgoat and Simulink Real-Time (SLRT)?
조회 수: 8 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2023년 3월 23일
편집: MathWorks Support Team
2025년 9월 15일 13:59
How can I use the BLAS and LAPACK libraries with Speedgoat and Simulink Real-Time (SLRT)?
채택된 답변
MathWorks Support Team
2025년 9월 15일 0:00
편집: MathWorks Support Team
2025년 9월 15일 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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Block Libraries에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!