Unit Testing C Code using MATLAB and MATLAB Coder

버전 1.1.0.0 (1.67 MB) 작성자: Bill Chou
Example files for unit testing C code using MATLAB and MATLAB Coder
다운로드 수: 147
업데이트 날짜: 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.