How can I use a macro from custom C code in code generated by MATLAB Coder R2022b?
Afficher commentaires plus anciens
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?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Algorithm Design Basics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!