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

2 次查看(过去 30 天)
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

采纳的回答

Tony Mohan Varghese
Please take a look at the example in the documentation :

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by