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

2 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Tony Mohan Varghese
Tony Mohan Varghese il 11 Lug 2018
Please take a look at the example in the documentation :

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by