How do I open a file by pressing a pushbutton in GUIDE?
    5 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
    ARAVINDHAN RAMESH
 le 17 Avr 2014
  
    
    
    
    
    Commenté : Fawad Chandio
 le 4 Sep 2019
            I'm required to open a file(A PDF, A image etc.) when a pushbutton is pressed. I'm working using GUIDE. What code and where do I type in?
1 commentaire
Réponse acceptée
  Chandrasekhar
      
 le 17 Avr 2014
        
      Modifié(e) : Chandrasekhar
      
 le 17 Avr 2014
  
      use the following command in the call back function of the push button
winopen('mydoc.doc')
winopen('myimage.jpg')
winopen('mypdf.pdf')
2 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!