Unlock AI power-ups — upgrade and save 20%!
Use code STUBE20OFF during your first month after signup. Upgrade now →

By Aisyah Nur Hikmah
Published Loading...
N/A views
N/A likes
MATLAB GUI Creation for Temperature Conversion
📌 The tutorial demonstrates how to create a Graphical User Interface (GUI) application in MATLAB R2016a for temperature conversion.
⚙️ Key GUI components used include Static Text for labels, Edit Text fields for input/output, Checkboxes for selecting conversion type, and Push Buttons for 'Clear' and 'Close' functions.
📏 The application calculates conversions between Celsius, Fahrenheit, Réaumur, and Kelvin.
GUI Component Setup and Design
📝 The static text elements were customized for the title and labels, adjusting properties like Font Name (Times New Roman) and Font Size (10-14) for visibility.
🔢 Four Edit Text components (named `edit1` through `edit4`) were prepared to handle input values and display the resulting conversions.
🖱️ Checkboxes (corresponding to output units) were set up to trigger specific conversion calculations when clicked.
Programming Logic and Scripting (Coding Phase)
💻 The coding involved defining callback functions for each checkbox, push button, and input field to execute the respective operations.
🧮 Specific mathematical formulas were implemented in the checkbox callbacks to convert the input Celsius value (read from `edit1`) to the selected target units:
🧹 The 'Clear' button logic uses the `set` function to empty the string content of all four Edit Text fields (`edit1` through `edit4`).
Key Points & Insights
➡️ Successful execution requires meticulous naming of GUI components (e.g., `edit1`, `checkbox1`) as errors occur if the code references incorrect component tags (underscores in variable names caused issues).
➡️ The tutorial confirmed functionality by testing conversions: inputting a value (e.g., 80) and selecting a target unit successfully displayed the calculated result in the corresponding output field.
➡️ The 'Close' button utilizes the command `delete(hObject.Parent)` to terminate the GUI window.
📸 Video summarized with SummaryTube.com on Jan 08, 2026, 12:57 UTC
Full transcript with timestamps available.
Free users: 2 transcript views per day. Upgrade for unlimited
Full video URL: youtube.com/watch?v=x28DHQRzijk

Summarize youtube video with AI directly from any YouTube video page. Save Time.
Install our free Chrome extension. Get expert level summaries with one click.