Matlab to C with Matlab Coder

in Language and Programming

Course Highlight:

This two-day course focuses on generating C code from MATLAB code using the MATLAB Coder. The focus is on developing MATLAB code that is ready for code generation, generating C code that meets optimization requirements, and integrating generated code into parent projects and external modules. This course is intended for intermediate to advanced MATLAB users

Who Should Attend

The aim of this course is to provide participants with deployment option of their Matlab code to C code.

Course Benefits

Upon the completion of the course, the participants will be able to generate optimized C code from their MATLAB code and integrate the code into parent projects and external module.

Prerequisites

Attended "Comprehensive MATLAB" or equivalent experience in using Matlab and knowledge of C programming language.

Course Outline

Day 1 of 2

Code Generation with MATLAB Coder

Objective: Become familiar with MATLAB Coder and its applications.

  • MATLAB Coder overview
  • Workflow for generating C code from MATLAB code
  • Generating C code
  • Verifying generated code
  • Navigating generated code

Preparing MATLAB Code for Code Generation

Objective: Use MATLAB Coder coding standards to write MATLAB code that is ready for code generation.

  • Translating MATLAB code into C code
  • Calling unsupported MATLAB functions
  • Preparing existing MATLAB code
  • Code preparation workflows

Working with Fixed-Size Data

Objective: Generate C code from MATLAB code that has fixed-size or constant inputs.

  • Data characteristics overview
  • Specifying fixed-size, top-level inputs
  • Specifying constant top-level inputs

Working with Variable-Size Data

Objective: Generate C code from MATLAB code that has variable-size inputs or local data.

  • Specifying variable-size, top-level inputs
  • Specifying variable-size local data
  • Reusing variables

Day 2 of 2

Working with Global Data, Structures, and Cell Arrays

Objective: Generate C code from MATLAB code that contains persistent data, global variables,input structures, or cell arrays.

  • Persistent variables
  • Global variables
  • Working with structures
  • Cell arrays in generated code
  • Passing arguments by reference

Integrating with External Code

Objective: Integrate generated C code from MATLAB Coder with external C code.

  • Code integration overview
  • Entry points to generated code
  • Integrating external C code using MATLAB Coder interface
  • Integrating external C code using an external IDE
  • Calling external C functions
  • Code verification and profiling
  • Source code debugging

Optimizing Generated Code

Objective: Use various options and techniques to optimize generated code.

  • Code optimization with loop unrolling and null initialization
  • Function inlining and file partitioning
  • Configuration objects
  • Removing unnecessary code
  • Naming conventions in generated code
  • Converting a project to a script

 

DOWNLOAD REGISTRATION FORM

 ONLINE REGISTRATION

Course Registration Form


Course Title
Invalid Input

or Key in Your Own Title
Invalid Input

Course Start Date

Invalid Input

Sponsorship (*)
Invalid Input


Contact Person


Salutation(*)
Invalid Input

Name(*)
Invalid Input

Designation/ Department/ Division(*)
Invalid Input

Company(*)
Invalid Input

Billing Address (*)
Invalid Input

Street Address

(*)
Invalid Input

Street Address Line 2

City(*)
Invalid Input

State / Province(*)
Invalid Input

Postal / Zip Code(*)
Invalid Input

Telephone(*)
Invalid Input

Fax
Invalid Input

Email Address (*)
Invalid Input


Participant Details


Participant Salution 1
Invalid Input

Participant Name1
Invalid Input

Designation/ Department/ Division
Invalid Input

Telephone
Invalid Input

Fax
Invalid Input

Email Address
Invalid Input

Dietary Requirement
Invalid Input


Participant Salution 2
Invalid Input

Participant Name2
Invalid Input

Designation/ Department/ Division
Invalid Input

Telephone
Invalid Input

Fax
Invalid Input

Email Address
Invalid Input

Dietary Requirement
Invalid Input


Participant Salution 3
Invalid Input

Participant Name 3
Invalid Input

Designation/ Department/ Division
Invalid Input

Telephone
Invalid Input

Fax
Invalid Input

Email Address
Invalid Input

Dietary Requirement
Invalid Input


Payment Method(*)
Invalid Input

Cheque number
Invalid Input

PO Number
Invalid Input

How did you get to know about this programme?(*)
Invalid Input

Terms and Conditions
Invalid Input

Invalid Input