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)
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
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.

More Answers (0)

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!