Issue with using Simulink.I​mportExter​nalCTypes

15 visualizaciones (últimos 30 días)
Anupama Sadanandan
Anupama Sadanandan el 11 de Oct. de 2017
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.

Respuestas (0)

Categorías

Más información sobre C Shared Library Integration en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by