Can I have direct calls to LAPACK library in the generated code from MATLAB Coder avoiding the use of the LAPACKE interface?
1 view (last 30 days)
Show older comments
MathWorks Support Team
on 9 Feb 2022
Answered: MathWorks Support Team
on 9 Feb 2022
It is sought to use the workflow mentioned in the following documentation page,
to have the code generated from the Embedded Coder interfaced with the LAPACK library. However, the board on which the code is to be deployed is incompatible with the generated LAPACKE C-interface.
Can I have direct calls to LAPACK library in the generated code from MATLAB Coder avoiding the use of the LAPACKE interface?
Accepted Answer
MathWorks Support Team
on 9 Jun 2022
Please note, that LAPACK is written in Fortran, namely,
while the Embedded Coder can generate C/C++ code. Therefore, some sort of interface should take place in order to interface the C/C++ code generated by Embedded Coder and LAPACK. Thus, it is not possible to have direct LAPACK calls in the generated C/C++ from Embedded Coder and the LAPACKE C-library is used for this reason, see the following link,
Another interface is yet not supported by the corresponding workflow.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!