How can i do object oriented programming in Simulink?
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (1)
Joel Handy
am 6 Aug. 2019
Bearbeitet: Walter Roberson
am 6 Aug. 2024
0 Stimmen
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.
Kategorien
Mehr zu Modeling finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!