Package: coder
Superclasses:
Abstract class for specifying the LAPACK library and LAPACKE header file for LAPACK calls in generated code
coder.LAPACKCallback
is an abstract class for defining a
LAPACK callback class. A LAPACK callback class specifies the LAPACK library and LAPACKE
header file to use for LAPACK calls in code generated from MATLAB® code. If you use MATLAB
Coder™ to generate standalone code or generate code for the MATLAB
Function block, for certain linear algebra function calls, you can generate
LAPACK calls. To generate LAPACK calls, set the
appropriate configuration parameter to the name of the
LAPACK callback class.
For code generation with MATLAB
Coder
codegen
command, set
CustomLAPACKCallback
.
For code generation with MATLAB Coder app, set Custom LAPACK library callback.
For code generation for a MATLAB Function block with Simulink® Coder, set Custom LAPACK library callback.
To define a LAPACK callback class with the name useMyLAPACK
,
make the following line the first line of your class definition file.
classdef useMyLAPACK < coder.LAPACKCallback
You must define all of the methods listed in Methods. These methods are static and are not compiled.
getHeaderFilename | Return file name of LAPACKE header file |
updateBuildInfo | Update build information for linking to a specific LAPACK library |