Unit Testing C Code using MATLAB and MATLAB Coder

Example files for unit testing C code using MATLAB and MATLAB Coder

Download
Download

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Cite As

Bill Chou (2026). Unit Testing C Code using MATLAB and MATLAB Coder (https://www.mathworks.com/matlabcentral/fileexchange/53634-unit-testing-c-code-using-matlab-and-matlab-coder), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0

Updated for R2016a. Includes a slight change to verifying that the sample error is within an absolute tolerance.

Download