image thumbnail

Unit Testing C Code using MATLAB and MATLAB Coder

version 1.1.0.0 (1.67 MB) by Bill Chou
Example files for unit testing C code using MATLAB and MATLAB Coder

129 Downloads

Updated4 Aug 2016

View License

Editor's Note:This file was selected as MATLAB Central选择的Week

This example shows how to:
1. Run unit tests on hand written C code using MATLAB and MATLAB Coder
2. Run unit tests on C code generated by MATLAB Coder
Run unit tests written in MATLAB on your hand written C code and check if changes to your C code results in any unit test failures. Use visualization and other tools available in MATLAB to understand how your code is behaving.
Also run unit tests with software-in-the-loop execution when using Embedded Coder with MATLAB Coder.

Cite As

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

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!