®
Click below to go directly to a specific section:
This program demonstrates the text output function displaying the message "Hello world!".
% Name: hellowor.m
% Purpose: Say "Hello World!" in two different ways
%
% Do it the good ol' fashioned way...command window
disp('Hello World!');
% Do it the new hip GUI way...with a message box
msgbox('Hello World!','Hello World!');
>> hellowor Hello World! >>
This program has been tested, it works perfectly without any errors or warnings.
Last modified: 12:54 AM on 12/10/1997