setHyperlink

Class: ModelAdvisor.Text
Package: ModelAdvisor

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
urlA string that specifies the target location of the URL

Examples

t1 = ModelAdvisor.Text('MathWorks home page');
setHyperlink(t1, 'http://www.mathworks.com');
Was this topic helpful?