From the series: Student Competition: Code Generation Training
Connell D'Souza, MathWorks
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.
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: .Select web site
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.