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

2 views (last 30 days)
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

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!