Is there a tool to generate a bus object from an IDL file?
3 次查看(过去 30 天)
显示 更早的评论
I have to create an S-fcn which takes a lot of buses as inputs and wraps some legacy code which uses IDL data bindings to C++. As these data structures defined in IDL are very large, I do not want to retype them all as Simulink bus object definitions. I was wondering if there is a way in Simulink to load an IDL file, and to generate bus definitions for the structures in this IDL file?
Thanks a bunch.
0 个评论
回答(2 个)
Kaustubha Govind
2013-8-14
If you can produce MATLAB structures from the IDL file, you can use Simulink.Bus.createObject to create the corresponding bus objects.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!