Unable to create mex file from C code in matlab 2021a
Hi,
I tried to generate mex file using mex filename.c , but it gives me an error saying data types redefined in tmwtypes.h and rtwtypes.h.
(error: conflicting types for ‘byte_T’)
Could you please tell me how to solve this,
PS: I included #include "mex.h" in the C code
Thanks,
MariaHi,
I tried to generate mex file using mex filename.c , but it gives me an error saying data types redefined in tmwtypes.h and rtwtypes.h.
(error: conflicting types for ‘byte_T’)
Could you please tell me how to solve this,
PS: I included #include "mex.h" in the C code
Thanks,
Maria Hi,
I tried to generate mex file using mex filename.c , but it gives me an error saying data types redefined in tmwtypes.h and rtwtypes.h.
(error: conflicting types for ‘byte_T’)
Could you please tell me how to solve this,
PS: I included #include "mex.h" in the C code
Thanks,
Maria mex compiler, code, s-function MATLAB Answers — New Questions