Main Content

setHyperlink

Specify hyperlinked text

Syntax

setHyperlink(text, url)

Description

setHyperlink(text, url) creates a hyperlink from the text to the specified URL.

Input Arguments

textInstantiation of the ModelAdvisor.Text class
urlThe target location of the URL

Examples

t1 = ModelAdvisor.Text('MathWorks home page');
setHyperlink(t1, 'https://www.mathworks.com');