How can i do object oriented programming in Simulink?
조회 수: 12 (최근 30일)
이전 댓글 표시
Balasubrahmanya Patel Kuinthodu Ganesh
2015년 10월 5일
편집: Walter Roberson
2024년 8월 6일
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.
댓글 수: 0
채택된 답변
Sebastian Castro
2015년 10월 5일
편집: Josh Kahn
2024년 8월 6일
If you want object-oriented programming in Simulink, I would recommend going the route of creating System objects.
- Sebastian
댓글 수: 1
Sashank Pappu
2019년 8월 6일
Thank you. Can you please provide any applications in the industry that have been done so far? I just started with system objects, But its quite new and really vast.
-Sashank
추가 답변 (1개)
Joel Handy
2019년 8월 6일
편집: Walter Roberson
2024년 8월 6일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio Processing Algorithm Design에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!