SlideShare una empresa de Scribd logo
1 de 16
Matlab:Graphical User Interfaces  (GUIs)
GUIs Graphical User Interfaces provide the users a rich and hassle free environment  for viewing, manipulating or running their programs.
GUIs MATLAB provides a useful tool called ‘GUIDE’ for building Graphical User Interfaces. GUIDE stands for GUI Design Environment. It can be initiated by the command:  	>>guide
GUIDE The main window of ‘GUIDE’ looks like this:  You can visit the HELP and documentation section for sample codes and examples!
GUIDE This is the first window of GUIDE. It allows you to select the prototype of the graphical user interface.
GUIDE After selecting  the first option you’ll come to this window. This is our GUI editor.
GUIDE Adding 3 push buttons and an ‘axes’ area.
GUIDE Use the ‘align’ option from ‘Tools’ to align the three pus buttons.
GUIDE The toolbar option allows you to design your custom toolbar.
GUIDE Save your work by pressing ‘ctrl+s’ or select ‘save’ from the ‘File’ menu.
GUIDE Run the GUI from the ‘Run Figure’ option.
GUIDE This is what we have built till now.
GUIDE Now, lets write a code that opens an image when the first button is pressed.  Search for ‘pushbutton1_Callback(…)’ line and write the following code in your figure’s m file:  (img.bmp is the image that will open when this button is pressed)
GUIDE Now save the m file and run the figure. Now press the first pushbutton!
GUIDE This was a simple example of implementing a GUI using the matlab tool GUIDE.
Visit more self help tutorials Pick a tutorial of your choice and browse through it at your own pace. The tutorials section is free, self-guiding and will not involve any additional support. Visit us at www.dataminingtools.net

Más contenido relacionado

Destacado

Cuarta unidad de aprendizaje persona familia relaciones humanas gato
Cuarta unidad de aprendizaje persona familia relaciones humanas gatoCuarta unidad de aprendizaje persona familia relaciones humanas gato
Cuarta unidad de aprendizaje persona familia relaciones humanas gato
Gato Salazar
 
DC Motor Modling,Controlling and Simulation
DC Motor Modling,Controlling and SimulationDC Motor Modling,Controlling and Simulation
DC Motor Modling,Controlling and Simulation
Syed Atif Naseem
 

Destacado (18)

Cuarta unidad de aprendizaje persona familia relaciones humanas gato
Cuarta unidad de aprendizaje persona familia relaciones humanas gatoCuarta unidad de aprendizaje persona familia relaciones humanas gato
Cuarta unidad de aprendizaje persona familia relaciones humanas gato
 
Реабилитация лиц, содержащихся в исправительных учреждениях
Реабилитация лиц, содержащихся в исправительных учрежденияхРеабилитация лиц, содержащихся в исправительных учреждениях
Реабилитация лиц, содержащихся в исправительных учреждениях
 
DC Motor Modling,Controlling and Simulation
DC Motor Modling,Controlling and SimulationDC Motor Modling,Controlling and Simulation
DC Motor Modling,Controlling and Simulation
 
Fun with MATLAB
Fun with MATLABFun with MATLAB
Fun with MATLAB
 
Matlab: Control Statements
Matlab: Control StatementsMatlab: Control Statements
Matlab: Control Statements
 
Radioaktivnost
RadioaktivnostRadioaktivnost
Radioaktivnost
 
Le contrat de travail
Le contrat de travail Le contrat de travail
Le contrat de travail
 
C,C++ In Matlab
C,C++ In MatlabC,C++ In Matlab
C,C++ In Matlab
 
The eye
The eyeThe eye
The eye
 
Contrat de travail
Contrat de travailContrat de travail
Contrat de travail
 
Matlab basic and image
Matlab basic and imageMatlab basic and image
Matlab basic and image
 
modeling and simulation of a dynamic voltage restorer
modeling and simulation of a dynamic voltage restorermodeling and simulation of a dynamic voltage restorer
modeling and simulation of a dynamic voltage restorer
 
Matlab Working With Images
Matlab Working With ImagesMatlab Working With Images
Matlab Working With Images
 
Hydraulics structures
Hydraulics  structuresHydraulics  structures
Hydraulics structures
 
Earthen dam
Earthen damEarthen dam
Earthen dam
 
Concrete design mix (ss)
Concrete design mix (ss)Concrete design mix (ss)
Concrete design mix (ss)
 
Amazing Facts Photo Presentation 2007
Amazing Facts Photo Presentation 2007Amazing Facts Photo Presentation 2007
Amazing Facts Photo Presentation 2007
 
Final Project presentation on Image processing based intelligent traffic cont...
Final Project presentation on Image processing based intelligent traffic cont...Final Project presentation on Image processing based intelligent traffic cont...
Final Project presentation on Image processing based intelligent traffic cont...
 

Similar a Matlab: Gui

Throughout the semester, we have been working on command line applic.pdf
Throughout the semester, we have been working on command line applic.pdfThroughout the semester, we have been working on command line applic.pdf
Throughout the semester, we have been working on command line applic.pdf
birajdar2
 
GUI_part_1.pptx
GUI_part_1.pptxGUI_part_1.pptx
GUI_part_1.pptx
Parasuraman43
 

Similar a Matlab: Gui (20)

Gui in matlab :
Gui in matlab :Gui in matlab :
Gui in matlab :
 
Gimp 2
Gimp 2Gimp 2
Gimp 2
 
Photoshop CC
Photoshop CCPhotoshop CC
Photoshop CC
 
Throughout the semester, we have been working on command line applic.pdf
Throughout the semester, we have been working on command line applic.pdfThroughout the semester, we have been working on command line applic.pdf
Throughout the semester, we have been working on command line applic.pdf
 
intro_gui
intro_guiintro_gui
intro_gui
 
Power point tips
Power point tipsPower point tips
Power point tips
 
Solidworks tips - First edition.pdf
Solidworks tips - First edition.pdfSolidworks tips - First edition.pdf
Solidworks tips - First edition.pdf
 
Software engineering modeling lab lectures
Software engineering modeling lab lecturesSoftware engineering modeling lab lectures
Software engineering modeling lab lectures
 
GUI_part_1.pptx
GUI_part_1.pptxGUI_part_1.pptx
GUI_part_1.pptx
 
Clipping Path Service-Photo Editor PH
Clipping Path Service-Photo Editor PHClipping Path Service-Photo Editor PH
Clipping Path Service-Photo Editor PH
 
Aragaw Gebremedhin auto cad lecture notes
Aragaw Gebremedhin auto cad lecture notesAragaw Gebremedhin auto cad lecture notes
Aragaw Gebremedhin auto cad lecture notes
 
How to develop a Graphical User Interface (GUI) in Scilab
How to develop a Graphical User Interface (GUI) in ScilabHow to develop a Graphical User Interface (GUI) in Scilab
How to develop a Graphical User Interface (GUI) in Scilab
 
Lhy tutorial gui(1)
Lhy tutorial gui(1)Lhy tutorial gui(1)
Lhy tutorial gui(1)
 
Basic Concepts of Microsoft Power Point
Basic Concepts of Microsoft Power Point Basic Concepts of Microsoft Power Point
Basic Concepts of Microsoft Power Point
 
VB6_OBJECTS AND GRAPHICS.ppt
VB6_OBJECTS AND GRAPHICS.pptVB6_OBJECTS AND GRAPHICS.ppt
VB6_OBJECTS AND GRAPHICS.ppt
 
Python is a high-level, general-purpose programming language. Its design phil...
Python is a high-level, general-purpose programming language. Its design phil...Python is a high-level, general-purpose programming language. Its design phil...
Python is a high-level, general-purpose programming language. Its design phil...
 
Computer Aided Design B.Sc Sem V.pdf
Computer Aided Design B.Sc Sem V.pdfComputer Aided Design B.Sc Sem V.pdf
Computer Aided Design B.Sc Sem V.pdf
 
Intro to Adobe Photoshop
Intro to Adobe PhotoshopIntro to Adobe Photoshop
Intro to Adobe Photoshop
 
Photo editing
Photo editingPhoto editing
Photo editing
 
Howtouse gui _sinmatlab
Howtouse gui _sinmatlabHowtouse gui _sinmatlab
Howtouse gui _sinmatlab
 

Más de matlab Content

Más de matlab Content (19)

Matlab: Discrete Linear Systems
Matlab: Discrete Linear SystemsMatlab: Discrete Linear Systems
Matlab: Discrete Linear Systems
 
Matlab Distributions
Matlab DistributionsMatlab Distributions
Matlab Distributions
 
Matlab: Graph Plots
Matlab: Graph PlotsMatlab: Graph Plots
Matlab: Graph Plots
 
Matlab: Linear Methods, Quantiles
Matlab: Linear Methods, QuantilesMatlab: Linear Methods, Quantiles
Matlab: Linear Methods, Quantiles
 
Matlab Data And Statistics
Matlab Data And StatisticsMatlab Data And Statistics
Matlab Data And Statistics
 
Matlab Feature Extraction Using Segmentation And Edge Detection
Matlab Feature Extraction Using Segmentation And Edge DetectionMatlab Feature Extraction Using Segmentation And Edge Detection
Matlab Feature Extraction Using Segmentation And Edge Detection
 
Matlab Image Enhancement Techniques
Matlab Image Enhancement TechniquesMatlab Image Enhancement Techniques
Matlab Image Enhancement Techniques
 
Matlab Image Restoration Techniques
Matlab Image Restoration TechniquesMatlab Image Restoration Techniques
Matlab Image Restoration Techniques
 
Matlab Importing Data
Matlab Importing DataMatlab Importing Data
Matlab Importing Data
 
Matlab Organizing Data
Matlab Organizing DataMatlab Organizing Data
Matlab Organizing Data
 
Matlab Text Files
Matlab Text FilesMatlab Text Files
Matlab Text Files
 
Matlab Visualizing Data
Matlab Visualizing DataMatlab Visualizing Data
Matlab Visualizing Data
 
Matlab: Non Linear Methods
Matlab: Non Linear MethodsMatlab: Non Linear Methods
Matlab: Non Linear Methods
 
Matlab: Procedures And Functions
Matlab: Procedures And FunctionsMatlab: Procedures And Functions
Matlab: Procedures And Functions
 
Matlab: Programming Environment
Matlab: Programming EnvironmentMatlab: Programming Environment
Matlab: Programming Environment
 
Matlab: Regression
Matlab: RegressionMatlab: Regression
Matlab: Regression
 
Matlab: Saving And Publishing
Matlab: Saving And PublishingMatlab: Saving And Publishing
Matlab: Saving And Publishing
 
Matlab: Spectral Analysis, Fourier Analysis, Filterbank Analysis
Matlab: Spectral Analysis, Fourier Analysis, Filterbank AnalysisMatlab: Spectral Analysis, Fourier Analysis, Filterbank Analysis
Matlab: Spectral Analysis, Fourier Analysis, Filterbank Analysis
 
Matlab: Speech Signal Analysis
Matlab: Speech Signal AnalysisMatlab: Speech Signal Analysis
Matlab: Speech Signal Analysis
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 

Matlab: Gui

  • 2. GUIs Graphical User Interfaces provide the users a rich and hassle free environment for viewing, manipulating or running their programs.
  • 3. GUIs MATLAB provides a useful tool called ‘GUIDE’ for building Graphical User Interfaces. GUIDE stands for GUI Design Environment. It can be initiated by the command: >>guide
  • 4. GUIDE The main window of ‘GUIDE’ looks like this: You can visit the HELP and documentation section for sample codes and examples!
  • 5. GUIDE This is the first window of GUIDE. It allows you to select the prototype of the graphical user interface.
  • 6. GUIDE After selecting the first option you’ll come to this window. This is our GUI editor.
  • 7. GUIDE Adding 3 push buttons and an ‘axes’ area.
  • 8. GUIDE Use the ‘align’ option from ‘Tools’ to align the three pus buttons.
  • 9. GUIDE The toolbar option allows you to design your custom toolbar.
  • 10. GUIDE Save your work by pressing ‘ctrl+s’ or select ‘save’ from the ‘File’ menu.
  • 11. GUIDE Run the GUI from the ‘Run Figure’ option.
  • 12. GUIDE This is what we have built till now.
  • 13. GUIDE Now, lets write a code that opens an image when the first button is pressed. Search for ‘pushbutton1_Callback(…)’ line and write the following code in your figure’s m file: (img.bmp is the image that will open when this button is pressed)
  • 14. GUIDE Now save the m file and run the figure. Now press the first pushbutton!
  • 15. GUIDE This was a simple example of implementing a GUI using the matlab tool GUIDE.
  • 16. Visit more self help tutorials Pick a tutorial of your choice and browse through it at your own pace. The tutorials section is free, self-guiding and will not involve any additional support. Visit us at www.dataminingtools.net