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

10 ビュー (過去 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 Center および File ExchangeMATLAB Compiler SDK についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by