Custom BLAS library callback
Callback for custom BLAS library usage
Model Configuration Pane: Code Generation
Description
The Custom BLAS library callback parameter specifies a BLAS library callback class for BLAS calls in code generated from MATLAB® code. This parameter applies to MATLAB code in a MATLAB Function block, a Stateflow® chart, or a System object™ associated with a MATLAB System block.
Settings
''
(default) | onSpecifies the name of a BLAS callback class that derives from coder.BLASCallback
. If you specify a BLAS callback class, for certain low-level vector and matrix operations, the code generator produces BLAS calls by using the CBLAS C interface to your BLAS library. The callback class provides the CBLAS header and data type information and the information required to link to your BLAS library. If this parameter is empty, the code generator produces code for the vector and matrix functions instead of a BLAS call.
Tips
Specify only the name of the class. Do not specify the name of the class definition file.
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |
Programmatic Use
Parameter: CustomBLASCallback |
Type: character vector |
Value: class name |
Default: '' |
Limitation
The class definition file must be in a folder on the MATLAB path.
Version History
Introduced in R2018b