Installation guide
Running Functions and Programs, and Entering Variables
Displaying Hype
rlinks in the Command Window
You can use MATLA
BcommandstocreatehyperlinksintheCommand
Window. The crea
ted hyperlink can:
• Open a Web page in
a MATLAB browser using an
href string.
• Transfer files v
ia the file transfer protocol (FTP).
• R un a MATLAB M-fi
le using the
matlabcolon (matlab:)command.
Hyperlinks to Web Pages
When creating a h
yperlink to a Web page, append a full hypertext string on
asinglelineas
input to the
disp or fprintf comm and. For example, the
command
disp('<a href = "http://www.mathworks.com">The MathWorks Web Site</a>')
displays the hyperlink
The MathWorks Web Site
in the Command Window.
When you click this link, a MATLAB Web browser opens and displays the
requested page.
Transferring Files via FTP
To create a link to an FTP site, enter the site address as input to the disp
command as shown below.
disp('<a href = "ftp://ftp.mathworks.com">The MathWorks FTP Site</a>')
This command displays
The MathWorks FTP Site
as a link in the Command Window.
When you click this link, a MATLAB browser opens and displays the
requested FTP site.
3-13