How can I use a macro from custom C code in code generated by MATLAB Coder R2022b?
이전 댓글 표시
I am writing MATLAB code intended for code generation with MATLAB Coder in MATLAB R2022b. I have a "uint8" macro "MYVAL" defined in a C header file “myHeader.h”.
I want to use my macro from "myHeader.h" in the code generated from MATLAB Coder. Is there a way to use my macro in the generated code?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Algorithm Design Basics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!