Unit Testing C Code using MATLAB and MATLAB Coder

版本 1.1.0.0 (1.7 MB) 作者: Bill Chou
Example files for unit testing C code using MATLAB and MATLAB Coder
145.0 次下载
更新时间 2016/8/4

查看许可证

编者注: This file was selected as MATLAB Central Pick of the 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.

引用格式

Bill Chou (2024). 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. 检索来源 .

MATLAB 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 MATLAB Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

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