How can i do object oriented programming in Simulink?
显示 更早的评论
Does simulink support object oriented programming? I want to design a control algorithm for an air compressor systems consisting of multiple compressors(objects). The compressors will have some of its specifications as parameters.
Can anyone suggest how to do?
Or any similar sample model will also be very helpful.
采纳的回答
更多回答(1 个)
Joel Handy
2019-8-6
编辑:Walter Roberson
2024-8-6
0 个投票
It sounds like a simple masked subsystem may suit your needs. Its not object oriented programming but you can use it to define unique parameters for a custom subsystem block.
类别
在 帮助中心 和 File Exchange 中查找有关 Modeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!