How can I create function with custom data type in Legacy Code Tool?

2 visualizaciones (últimos 30 días)
Hi,
I have legacy code (function) in C language. I want to create S-Function with Legacy Code Tool. There is a problem with data type because data type of my function is not defined by a Simulink. Please, how can I incorporate data type defined in my library into S-Function?
Thanks!
Vit

Respuesta aceptada

Tony Mohan Varghese
Tony Mohan Varghese el 11 de Jul. de 2018
Please take a look at the example in the documentation :

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by