How can i do object oriented programming in Simulink?
    26 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
    Balasubrahmanya Patel Kuinthodu Ganesh
 le 5 Oct 2015
  
    
    
    
    
    Modifié(e) : Walter Roberson
      
      
 le 6 Août 2024
            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 commentaires
Réponse acceptée
  Sebastian Castro
    
 le 5 Oct 2015
        
      Modifié(e) : Josh Kahn
    
 le 6 Août 2024
  
      If you want object-oriented programming in Simulink, I would recommend going the route of creating System objects.
- Sebastian
1 commentaire
  Sashank Pappu
 le 6 Août 2019
				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
Plus de réponses (1)
  Joel Handy
      
 le 6 Août 2019
        
      Modifié(e) : Walter Roberson
      
      
 le 6 Août 2024
  
      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 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



