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 = "https://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.