View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Hello/Goodbye World using GUI 2.5

Be the first to rate this file! 5 Downloads (last 30 days) File Size: 25.6 KB File ID: #42171 Version: 1.0

Hello/Goodbye World using GUI 2.5



Test Upload

| Watch this File

File Information

A simple hello/goodbye GUI using a just UIControls instead of the guide, as a precursor to other programs using the same system.

Required Products MATLAB
MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
12 Jun 2013 Jan Simon

Jan Simon (view profile)

Using the brute clearing header "clc; clear all;" inside the functions is a bad idea. On one hand a function does not contain local variables initially, such that clearing them does not have any benefit. On the other hand this removes all breakpoints also, and everything, which prevents debugging, is a really bad programming practize.

I prefer the standard indentation scheme applied by Matlab automatically. But this is a question of taste only.

The small number of comments reduces the educational value of this submission.

Transporting a set of variables as cell has the important drawback, that the order of the values matter:
If you use a struct with the fields "x", "y", and "a" instead, the meaning is immediatly clear.

Comment only

Contact us