Issue with using Simulink.I​mportExter​nalCTypes

2 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 External Language Interfaces 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by