Authors not specified. — The MathWorks, Inc., 2022. — 1475 p.
MatLAB Coder generates C and C++ code from MatLAB code for a variety of hardware platforms, from desktop systems to embedded hardware. It supports most of MatLAB language and a wide range of toolboxes. You can integrate the generated code into your projects as source code, static libraries, or dynamic libraries. The generated code is readable and portable. You can combine it with key parts of your existing C and C++ code and libraries. You can also package the generated code as a MEX-function for use in MatLAB.
About MatLAB Coder.
Design Considerations for C/C++ Code Generation.
Functions, Classes, and System Objects Supported for Code Generation.
Defining MatLAB Variables for C/C++ Code Generation.
Defining Data for Code Generation.
Code Generation for Variable-Size Data.
Code Generation for MatLAB Structures.
Code Generation for Categorical Arrays.
Code Generation for Cell Arrays.
Code Generation for Datetime Arrays.
Code Generation for Duration Arrays.
Code Generation for Tables.
Code Generation for Timetables.
Code Generation for Enumerated Data.
Code Generation for MatLAB Classes.
Generating C++ Classes.
Code Generation for Function Handles.
Code Generation for Deep Learning Arrays.
Defining Functions for Code Generation.
Calling Functions for Code Generation.
Fixed-Point Conversion.
Automated Fixed-Point Conversion Using Programmatic Workflow.
Single-Precision Conversion.
Setting Up a MatLAB Coder Project Preparing MatLAB Code for C/C++ Code Generation.
Testing MEX Functions in MatLAB.
Generating C/C++ Code from MatLAB Code Verify Generated C/C++ Code.