Interfacing MATLAB with C Code

This one-day course focuses on interfacing MATLAB® with user-written C code. Through hands-on examples and exercises, the course explores generating MEX-files to incorporate external C code in MATLAB applications and calling MATLAB code from C applications. At the end of this course, attendees will be able to:

  • Write and compile source MEX-files
  • Pass data between MATLAB and MEX-files
  • Call MATLAB code from C code using the engine interface
  • Identify the proper approach for interfacing MATLAB with C code

Training Formats

Format Course Length Course Outline

Classroom

Course is led by a MathWorks instructor in a focused classroom setting. Locations include MathWorks offices and public sites worldwide; classroom training can also take place at your facility

1 day View details

Online instructor-led

Course is held online in real time by a MathWorks instructor and contains the same course content and materials used in the classroom setting

1 day View details

Prerequisites

MATLAB Fundamentals and knowledge of C programming language