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.
Additional Resources:
Published: 10 Oct 2018
Download Code and Files
Related Products
Learn More
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
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.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)