Student Competition: Code Generation Training, Preparing and Customizing Generated Code for MATLAB
From the series: Student Competition: Code Generation Training
Now that you are familiar with the high-level code generation workflow, this video does a deep dive on customizing and optimizing the generated code based on your application. You will learn how to work around common stumbling blocks in generating code from MATLAB®.
While most MATLAB language features are supported for code generation, this video will teach you how to work around MATLAB functions in your code that do not support code generation. Data types play a big role in code performance, and you will learn how to declare control the data types in your generated code. This is particularly important because MATLAB is a dynamically typed language, whereas C/C++ are statically typed, and it is necessary to ensure data types match.
Finally, this video will talk about different use cases for your generated code and how you can optimize generated code to best serve your use case.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.