Unable to create mex file from C code in matlab 2021a

조회 수: 4 (최근 30일)
Maria
Maria 2023년 12월 11일
댓글: James Tursa 2023년 12월 11일
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
  댓글 수: 1
James Tursa
James Tursa 2023년 12월 11일
Can you post a small miniminal example that reproduces the problem?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler SDK에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by