Issue with using Simulink.I​mportExter​nalCTypes

Hello, I am trying to use Simulink.ImportExternalCtypes function to import my legacy code containing enumeration to Matlab. The imported file has an inclusion of the file containing typedef of primitive data type. However, Matlab throws error#20, for example for the data type bool for _Bool. Please suggest how to make use of 'Defines' with Simulink.ImportExternalCtypes. Thanks.

답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB Coder에 대해 자세히 알아보기

질문:

2017년 10월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by