How can I use a macro from custom C code in code generated by MATLAB Coder R2022b?
Mostrar comentarios más antiguos
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?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Algorithm Design Basics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!