Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

Display Hyperlinks in the Command Window

Create Hyperlinks to Web Pages

When you create a hyperlink to a Web page, append a full hypertext address on a single line as input to the disp or fprintf command. For example, the following command:

disp('<a href = "http://www.mathworks.com">The MathWorks Web Site</a>')
displays the following hyperlink in the Command Window:

When you click this hyperlink, a MATLAB® Web browser opens and displays the requested page.

Transfer Files Using FTP

To create a link to an FTP site, enter the site address as input to the disp command as follows:

disp('<a href = "ftp://ftp.mathworks.com">The MathWorks FTP Site</a>')
This command displays the following as a link in the Command Window:

When you click the link, a MATLAB browser opens and displays the requested FTP site.

Was this topic helpful?