SlideShare a Scribd company logo
1 of 13
Creating a GUI in Matlab
                               USING GUIDE




By Sahil Potnis, VIT, Mumbai
STEP 1:

 Open Matlab and type „guide‟ in command window .


 Guide stands for GUI Development Environment.


OR

 You can select File-> new-> GUI.
It is one and the same thing......


By Sahil Potnis, VIT, Mumbai
Create New GUI




    By Sahil Potnis, VIT,
    Mumbai
STEP 2:

 Select a standard template from the list:
Say for example : GUI with uicontrols

 Save the GUI with a certain name –abc


 This generates a abc.m file with the GUI code.


 Now , you can play with the code.


 Do not alter the initialization code up to line no:74

By Sahil Potnis, VIT, Mumbai
STEP 3:

 All objects present within the GUI have their own
  tags.
 Double click on an object to display it „s properties


 Tag property will show you the existing tag of that
  object.

 Callback and Create function of these are associated
  with this tag


By Sahil Potnis, VIT, Mumbai
 If you change the tag, and save the file automatically
   abc.m will be updated

 (note-Do not alter the .m file to change the tag, make
   changes in .fig file and save it).

 Ta of your selected object is displayed at the right
   hand bottom corner of your .fig window.



By Sahil Potnis, VIT, Mumbai
 Now I will explain rest of basics using reference to the
   “Density * volume =Mass example”

 Density, Volume are the Edit text boxes in which user
   can enter the values

 Mass is the static text box in which answer is displayed.


 Calculate and Reset are the two Pushbuttons while Units
   consists of two radio buttons

By Sahil Potnis, VIT, Mumbai
STEP 4 :

 Mutual Exclusivity of these radio buttons is preserved as
   they are embedded within a “button group‟‟ container.


 A create function is essential when a value is to be
   obtained from the User


 A callback function is essential when a value is to be
   assigned to a certain tag (static text) Or a certain object
   has to perform a specific task (pushbutton)

By Sahil Potnis, VIT, Mumbai
 Functions related to specific Objects can be viewed
   by using : View Callback




By Sahil Potnis, VIT, Mumbai
 You can further change the „calculate callback‟
  function as per your usage:

 Even a function can be created within „calculate‟ as
  follows:

Mass=fxname(handles.metricdata.density,handles.metricdat.volume)


 Save a fxname.m file within the same folder and
  write the function within that file.

By Sahil Potnis, VIT, Mumbai
 Function [mass]=fxname(density,volume)
%
CODE
%
return

 Make sure the parameter names and number of
  parameters within the function and main file match.



By Sahil Potnis, VIT, Mumbai
EXPECTED OUTCOME :




   You can now create a simple User Interface with User
     Input and perform certain operations on those input
     values....

  Keep on trying new things.....Its the best way to learn.!!




Watch out this space for tutorials on Matlab....
 By Sahil Potnis, VIT, Mumbai
Thank You

 For further advanced Matlab programming visit :
  http://sahilpotnis.blogspot.in/

 Or drop me a mail at :
sahil.potnis@vit.edu.in




By Sahil Potnis, VIT, Mumbai

More Related Content

What's hot

GUI Programming in JAVA (Using Netbeans) - A Review
GUI Programming in JAVA (Using Netbeans) -  A ReviewGUI Programming in JAVA (Using Netbeans) -  A Review
GUI Programming in JAVA (Using Netbeans) - A ReviewFernando Torres
 
GUI Programming In Java
GUI Programming In JavaGUI Programming In Java
GUI Programming In Javayht4ever
 
Windows form application - C# Training
Windows form application - C# Training Windows form application - C# Training
Windows form application - C# Training Moutasm Tamimi
 
Java layoutmanager
Java layoutmanagerJava layoutmanager
Java layoutmanagerArati Gadgil
 
06 win forms
06 win forms06 win forms
06 win formsmrjw
 
Ajp notes-chapter-01
Ajp notes-chapter-01Ajp notes-chapter-01
Ajp notes-chapter-01JONDHLEPOLY
 
Basic of Java Netbeans
Basic of Java NetbeansBasic of Java Netbeans
Basic of Java NetbeansShrey Goswami
 
Graphical User Interface (GUI) - 1
Graphical User Interface (GUI) - 1Graphical User Interface (GUI) - 1
Graphical User Interface (GUI) - 1PRN USM
 
Ajp notes-chapter-01
Ajp notes-chapter-01Ajp notes-chapter-01
Ajp notes-chapter-01Ankit Dubey
 
Labels and buttons
Labels and buttonsLabels and buttons
Labels and buttonsmyrajendra
 
Visual basic 6.0
Visual basic 6.0Visual basic 6.0
Visual basic 6.0Aarti P
 
Spf chapter 03 WinForm
Spf chapter 03 WinFormSpf chapter 03 WinForm
Spf chapter 03 WinFormHock Leng PUAH
 
Programming Without Coding Technology (PWCT) - Center Window
Programming Without Coding Technology (PWCT) - Center WindowProgramming Without Coding Technology (PWCT) - Center Window
Programming Without Coding Technology (PWCT) - Center WindowMahmoud Samir Fayed
 
Basic iOS Training with SWIFT - Part 3
Basic iOS Training with SWIFT - Part 3Basic iOS Training with SWIFT - Part 3
Basic iOS Training with SWIFT - Part 3Manoj Ellappan
 

What's hot (20)

GUI Programming in JAVA (Using Netbeans) - A Review
GUI Programming in JAVA (Using Netbeans) -  A ReviewGUI Programming in JAVA (Using Netbeans) -  A Review
GUI Programming in JAVA (Using Netbeans) - A Review
 
visual basic programming
visual basic programmingvisual basic programming
visual basic programming
 
Layout manager
Layout managerLayout manager
Layout manager
 
GUI Programming In Java
GUI Programming In JavaGUI Programming In Java
GUI Programming In Java
 
Windows form application - C# Training
Windows form application - C# Training Windows form application - C# Training
Windows form application - C# Training
 
Java layoutmanager
Java layoutmanagerJava layoutmanager
Java layoutmanager
 
06 win forms
06 win forms06 win forms
06 win forms
 
4.C#
4.C#4.C#
4.C#
 
Ajp notes-chapter-01
Ajp notes-chapter-01Ajp notes-chapter-01
Ajp notes-chapter-01
 
Visual C# 2010
Visual C# 2010Visual C# 2010
Visual C# 2010
 
Basic of Java Netbeans
Basic of Java NetbeansBasic of Java Netbeans
Basic of Java Netbeans
 
Graphical User Interface (GUI) - 1
Graphical User Interface (GUI) - 1Graphical User Interface (GUI) - 1
Graphical User Interface (GUI) - 1
 
Ajp notes-chapter-01
Ajp notes-chapter-01Ajp notes-chapter-01
Ajp notes-chapter-01
 
Labels and buttons
Labels and buttonsLabels and buttons
Labels and buttons
 
Visual basic
Visual basicVisual basic
Visual basic
 
Intake 38 8
Intake 38 8Intake 38 8
Intake 38 8
 
Visual basic 6.0
Visual basic 6.0Visual basic 6.0
Visual basic 6.0
 
Spf chapter 03 WinForm
Spf chapter 03 WinFormSpf chapter 03 WinForm
Spf chapter 03 WinForm
 
Programming Without Coding Technology (PWCT) - Center Window
Programming Without Coding Technology (PWCT) - Center WindowProgramming Without Coding Technology (PWCT) - Center Window
Programming Without Coding Technology (PWCT) - Center Window
 
Basic iOS Training with SWIFT - Part 3
Basic iOS Training with SWIFT - Part 3Basic iOS Training with SWIFT - Part 3
Basic iOS Training with SWIFT - Part 3
 

Viewers also liked

Pengolahan Citra Digital Dengan Menggunakan MATLAB
Pengolahan Citra Digital Dengan Menggunakan MATLABPengolahan Citra Digital Dengan Menggunakan MATLAB
Pengolahan Citra Digital Dengan Menggunakan MATLABSimesterious TheMaster
 
Contoh program matlab
Contoh program matlabContoh program matlab
Contoh program matlabZahra Doangs
 
Graphical User Interface
Graphical User Interface Graphical User Interface
Graphical User Interface Bivek Pakuwal
 
Introduction to Digital Image Processing Using MATLAB
Introduction to Digital Image Processing Using MATLABIntroduction to Digital Image Processing Using MATLAB
Introduction to Digital Image Processing Using MATLABRay Phan
 
Muhammad rizwan aqeel rlp.ppt
Muhammad rizwan aqeel rlp.pptMuhammad rizwan aqeel rlp.ppt
Muhammad rizwan aqeel rlp.pptM Rizwan Aqeel
 
Natural Language Checking with Program Checking Tools
Natural Language Checking with Program Checking ToolsNatural Language Checking with Program Checking Tools
Natural Language Checking with Program Checking ToolsLukas Renggli
 
TIP_E-Conversion_System
TIP_E-Conversion_SystemTIP_E-Conversion_System
TIP_E-Conversion_SystemRana Saini
 
MATLAB TRAINING COURSE IN CHENNAI@MAASTECH/MATLAB
MATLAB TRAINING COURSE IN CHENNAI@MAASTECH/MATLABMATLAB TRAINING COURSE IN CHENNAI@MAASTECH/MATLAB
MATLAB TRAINING COURSE IN CHENNAI@MAASTECH/MATLABASHOKKUMAR RAMAR
 
Digital image processing using matlab (fundamentals)
Digital image processing using matlab (fundamentals)Digital image processing using matlab (fundamentals)
Digital image processing using matlab (fundamentals)Taimur Adil
 
Design and development of matlab gui based fuzzy logic controllers for ac motor
Design and development of matlab gui based fuzzy logic controllers for ac motorDesign and development of matlab gui based fuzzy logic controllers for ac motor
Design and development of matlab gui based fuzzy logic controllers for ac motorIAEME Publication
 
Presen_Segmentation
Presen_SegmentationPresen_Segmentation
Presen_SegmentationVikas Goyal
 
Image processing for robotics
Image processing for roboticsImage processing for robotics
Image processing for roboticsSALAAMCHAUS
 
Slides suzaimah madinah(1)
Slides suzaimah madinah(1)Slides suzaimah madinah(1)
Slides suzaimah madinah(1)Suzaimah Ramli
 
Developing graphical user interface for analysis of beam by using matlab soft...
Developing graphical user interface for analysis of beam by using matlab soft...Developing graphical user interface for analysis of beam by using matlab soft...
Developing graphical user interface for analysis of beam by using matlab soft...eSAT Journals
 
MINI PROJECTS&INPLANT TRAINING-PROJECT KITS FOR ECE/EEE/E&I/ICE/BIOMEDICAL
MINI PROJECTS&INPLANT TRAINING-PROJECT KITS FOR ECE/EEE/E&I/ICE/BIOMEDICALMINI PROJECTS&INPLANT TRAINING-PROJECT KITS FOR ECE/EEE/E&I/ICE/BIOMEDICAL
MINI PROJECTS&INPLANT TRAINING-PROJECT KITS FOR ECE/EEE/E&I/ICE/BIOMEDICALASHOKKUMAR RAMAR
 
2 mikrokontroler atmega 8535
2 mikrokontroler atmega 85352 mikrokontroler atmega 8535
2 mikrokontroler atmega 8535Agung Gumelar
 
Text detection and recognition from natural scenes
Text detection and recognition from natural scenesText detection and recognition from natural scenes
Text detection and recognition from natural sceneshemanthmcqueen
 
BIOMEDICAL APPLICATION EMBEDDED SYSTEMS INPLANT TRAINING
BIOMEDICAL APPLICATION EMBEDDED SYSTEMS INPLANT TRAINING BIOMEDICAL APPLICATION EMBEDDED SYSTEMS INPLANT TRAINING
BIOMEDICAL APPLICATION EMBEDDED SYSTEMS INPLANT TRAINING maasarun
 
DSBW Final Exam (Spring Sementer 2010)
DSBW Final Exam (Spring Sementer 2010)DSBW Final Exam (Spring Sementer 2010)
DSBW Final Exam (Spring Sementer 2010)Carles Farré
 

Viewers also liked (20)

Matlab GUI
Matlab GUIMatlab GUI
Matlab GUI
 
Pengolahan Citra Digital Dengan Menggunakan MATLAB
Pengolahan Citra Digital Dengan Menggunakan MATLABPengolahan Citra Digital Dengan Menggunakan MATLAB
Pengolahan Citra Digital Dengan Menggunakan MATLAB
 
Contoh program matlab
Contoh program matlabContoh program matlab
Contoh program matlab
 
Graphical User Interface
Graphical User Interface Graphical User Interface
Graphical User Interface
 
Introduction to Digital Image Processing Using MATLAB
Introduction to Digital Image Processing Using MATLABIntroduction to Digital Image Processing Using MATLAB
Introduction to Digital Image Processing Using MATLAB
 
Muhammad rizwan aqeel rlp.ppt
Muhammad rizwan aqeel rlp.pptMuhammad rizwan aqeel rlp.ppt
Muhammad rizwan aqeel rlp.ppt
 
Natural Language Checking with Program Checking Tools
Natural Language Checking with Program Checking ToolsNatural Language Checking with Program Checking Tools
Natural Language Checking with Program Checking Tools
 
TIP_E-Conversion_System
TIP_E-Conversion_SystemTIP_E-Conversion_System
TIP_E-Conversion_System
 
MATLAB TRAINING COURSE IN CHENNAI@MAASTECH/MATLAB
MATLAB TRAINING COURSE IN CHENNAI@MAASTECH/MATLABMATLAB TRAINING COURSE IN CHENNAI@MAASTECH/MATLAB
MATLAB TRAINING COURSE IN CHENNAI@MAASTECH/MATLAB
 
Digital image processing using matlab (fundamentals)
Digital image processing using matlab (fundamentals)Digital image processing using matlab (fundamentals)
Digital image processing using matlab (fundamentals)
 
Design and development of matlab gui based fuzzy logic controllers for ac motor
Design and development of matlab gui based fuzzy logic controllers for ac motorDesign and development of matlab gui based fuzzy logic controllers for ac motor
Design and development of matlab gui based fuzzy logic controllers for ac motor
 
Presen_Segmentation
Presen_SegmentationPresen_Segmentation
Presen_Segmentation
 
Image processing for robotics
Image processing for roboticsImage processing for robotics
Image processing for robotics
 
Slides suzaimah madinah(1)
Slides suzaimah madinah(1)Slides suzaimah madinah(1)
Slides suzaimah madinah(1)
 
Developing graphical user interface for analysis of beam by using matlab soft...
Developing graphical user interface for analysis of beam by using matlab soft...Developing graphical user interface for analysis of beam by using matlab soft...
Developing graphical user interface for analysis of beam by using matlab soft...
 
MINI PROJECTS&INPLANT TRAINING-PROJECT KITS FOR ECE/EEE/E&I/ICE/BIOMEDICAL
MINI PROJECTS&INPLANT TRAINING-PROJECT KITS FOR ECE/EEE/E&I/ICE/BIOMEDICALMINI PROJECTS&INPLANT TRAINING-PROJECT KITS FOR ECE/EEE/E&I/ICE/BIOMEDICAL
MINI PROJECTS&INPLANT TRAINING-PROJECT KITS FOR ECE/EEE/E&I/ICE/BIOMEDICAL
 
2 mikrokontroler atmega 8535
2 mikrokontroler atmega 85352 mikrokontroler atmega 8535
2 mikrokontroler atmega 8535
 
Text detection and recognition from natural scenes
Text detection and recognition from natural scenesText detection and recognition from natural scenes
Text detection and recognition from natural scenes
 
BIOMEDICAL APPLICATION EMBEDDED SYSTEMS INPLANT TRAINING
BIOMEDICAL APPLICATION EMBEDDED SYSTEMS INPLANT TRAINING BIOMEDICAL APPLICATION EMBEDDED SYSTEMS INPLANT TRAINING
BIOMEDICAL APPLICATION EMBEDDED SYSTEMS INPLANT TRAINING
 
DSBW Final Exam (Spring Sementer 2010)
DSBW Final Exam (Spring Sementer 2010)DSBW Final Exam (Spring Sementer 2010)
DSBW Final Exam (Spring Sementer 2010)
 

Similar to Create GUI Matlab Guide

intro_gui
intro_guiintro_gui
intro_guifilipb2
 
Getting Started with the Ribbon library - MUGUKI User Group Meeting 2016
Getting Started with the Ribbon library - MUGUKI User Group Meeting 2016Getting Started with the Ribbon library - MUGUKI User Group Meeting 2016
Getting Started with the Ribbon library - MUGUKI User Group Meeting 2016Peter Horsbøll Møller
 
Vb ch 3-object-oriented_fundamentals_in_vb.net
Vb ch 3-object-oriented_fundamentals_in_vb.netVb ch 3-object-oriented_fundamentals_in_vb.net
Vb ch 3-object-oriented_fundamentals_in_vb.netbantamlak dejene
 
Chapter 1
Chapter 1Chapter 1
Chapter 1gebrsh
 
Unit IV-Checkboxes and Radio Buttons in VB.Net in VB.NET
Unit IV-Checkboxes    and   Radio Buttons in VB.Net in VB.NET Unit IV-Checkboxes    and   Radio Buttons in VB.Net in VB.NET
Unit IV-Checkboxes and Radio Buttons in VB.Net in VB.NET Ujwala Junghare
 
object oriented fundamentals in vb.net
object oriented fundamentals in vb.netobject oriented fundamentals in vb.net
object oriented fundamentals in vb.netbantamlak dejene
 
3.5 the controls object
3.5   the controls object3.5   the controls object
3.5 the controls objectallenbailey
 
Vbtutorial
VbtutorialVbtutorial
Vbtutorialdhi her
 
Introduction to programming using Visual Basic 6
Introduction to programming using Visual Basic 6Introduction to programming using Visual Basic 6
Introduction to programming using Visual Basic 6Jeanie Arnoco
 
H4 Lab 02 X Page Advanced
H4 Lab 02   X Page AdvancedH4 Lab 02   X Page Advanced
H4 Lab 02 X Page Advanceddominion
 
Chapter2.ppt
Chapter2.pptChapter2.ppt
Chapter2.pptLalRatan
 
Software engineering modeling lab lectures
Software engineering modeling lab lecturesSoftware engineering modeling lab lectures
Software engineering modeling lab lecturesmarwaeng
 
AndroidLab_IT.pptx
AndroidLab_IT.pptxAndroidLab_IT.pptx
AndroidLab_IT.pptxAhmedKedir9
 

Similar to Create GUI Matlab Guide (20)

intro_gui
intro_guiintro_gui
intro_gui
 
Getting Started with the Ribbon library - MUGUKI User Group Meeting 2016
Getting Started with the Ribbon library - MUGUKI User Group Meeting 2016Getting Started with the Ribbon library - MUGUKI User Group Meeting 2016
Getting Started with the Ribbon library - MUGUKI User Group Meeting 2016
 
Visualbasic tutorial
Visualbasic tutorialVisualbasic tutorial
Visualbasic tutorial
 
Vb ch 3-object-oriented_fundamentals_in_vb.net
Vb ch 3-object-oriented_fundamentals_in_vb.netVb ch 3-object-oriented_fundamentals_in_vb.net
Vb ch 3-object-oriented_fundamentals_in_vb.net
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
iOS Development (Part 1)
iOS Development (Part 1)iOS Development (Part 1)
iOS Development (Part 1)
 
Unit IV-Checkboxes and Radio Buttons in VB.Net in VB.NET
Unit IV-Checkboxes    and   Radio Buttons in VB.Net in VB.NET Unit IV-Checkboxes    and   Radio Buttons in VB.Net in VB.NET
Unit IV-Checkboxes and Radio Buttons in VB.Net in VB.NET
 
Intake 37 9
Intake 37 9Intake 37 9
Intake 37 9
 
object oriented fundamentals in vb.net
object oriented fundamentals in vb.netobject oriented fundamentals in vb.net
object oriented fundamentals in vb.net
 
3.5 the controls object
3.5   the controls object3.5   the controls object
3.5 the controls object
 
Intake 38 9
Intake 38 9Intake 38 9
Intake 38 9
 
Maliram poonia project
Maliram poonia projectMaliram poonia project
Maliram poonia project
 
Unit iv
Unit ivUnit iv
Unit iv
 
Vbtutorial
VbtutorialVbtutorial
Vbtutorial
 
Vb 6ch123
Vb 6ch123Vb 6ch123
Vb 6ch123
 
Introduction to programming using Visual Basic 6
Introduction to programming using Visual Basic 6Introduction to programming using Visual Basic 6
Introduction to programming using Visual Basic 6
 
H4 Lab 02 X Page Advanced
H4 Lab 02   X Page AdvancedH4 Lab 02   X Page Advanced
H4 Lab 02 X Page Advanced
 
Chapter2.ppt
Chapter2.pptChapter2.ppt
Chapter2.ppt
 
Software engineering modeling lab lectures
Software engineering modeling lab lecturesSoftware engineering modeling lab lectures
Software engineering modeling lab lectures
 
AndroidLab_IT.pptx
AndroidLab_IT.pptxAndroidLab_IT.pptx
AndroidLab_IT.pptx
 

Recently uploaded

Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 

Recently uploaded (20)

Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 

Create GUI Matlab Guide

  • 1. Creating a GUI in Matlab USING GUIDE By Sahil Potnis, VIT, Mumbai
  • 2. STEP 1:  Open Matlab and type „guide‟ in command window .  Guide stands for GUI Development Environment. OR  You can select File-> new-> GUI. It is one and the same thing...... By Sahil Potnis, VIT, Mumbai
  • 3. Create New GUI By Sahil Potnis, VIT, Mumbai
  • 4. STEP 2:  Select a standard template from the list: Say for example : GUI with uicontrols  Save the GUI with a certain name –abc  This generates a abc.m file with the GUI code.  Now , you can play with the code.  Do not alter the initialization code up to line no:74 By Sahil Potnis, VIT, Mumbai
  • 5. STEP 3:  All objects present within the GUI have their own tags.  Double click on an object to display it „s properties  Tag property will show you the existing tag of that object.  Callback and Create function of these are associated with this tag By Sahil Potnis, VIT, Mumbai
  • 6.  If you change the tag, and save the file automatically abc.m will be updated  (note-Do not alter the .m file to change the tag, make changes in .fig file and save it).  Ta of your selected object is displayed at the right hand bottom corner of your .fig window. By Sahil Potnis, VIT, Mumbai
  • 7.  Now I will explain rest of basics using reference to the “Density * volume =Mass example”  Density, Volume are the Edit text boxes in which user can enter the values  Mass is the static text box in which answer is displayed.  Calculate and Reset are the two Pushbuttons while Units consists of two radio buttons By Sahil Potnis, VIT, Mumbai
  • 8. STEP 4 :  Mutual Exclusivity of these radio buttons is preserved as they are embedded within a “button group‟‟ container.  A create function is essential when a value is to be obtained from the User  A callback function is essential when a value is to be assigned to a certain tag (static text) Or a certain object has to perform a specific task (pushbutton) By Sahil Potnis, VIT, Mumbai
  • 9.  Functions related to specific Objects can be viewed by using : View Callback By Sahil Potnis, VIT, Mumbai
  • 10.  You can further change the „calculate callback‟ function as per your usage:  Even a function can be created within „calculate‟ as follows: Mass=fxname(handles.metricdata.density,handles.metricdat.volume)  Save a fxname.m file within the same folder and write the function within that file. By Sahil Potnis, VIT, Mumbai
  • 11.  Function [mass]=fxname(density,volume) % CODE % return  Make sure the parameter names and number of parameters within the function and main file match. By Sahil Potnis, VIT, Mumbai
  • 12. EXPECTED OUTCOME :  You can now create a simple User Interface with User Input and perform certain operations on those input values.... Keep on trying new things.....Its the best way to learn.!! Watch out this space for tutorials on Matlab.... By Sahil Potnis, VIT, Mumbai
  • 13. Thank You  For further advanced Matlab programming visit : http://sahilpotnis.blogspot.in/  Or drop me a mail at : sahil.potnis@vit.edu.in By Sahil Potnis, VIT, Mumbai