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

2 Ansichten (letzte 30 Tage)
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

Akzeptierte Antwort

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by