Can I have direct calls to LAPACK library in the generated code from MATLAB Coder avoiding the use of the LAPACKE interface?

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

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)

Products

Release

R2018b

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!