ModelAdvisor.Image - Include image in Model Advisor output

Syntax

object = ModelAdvisor.Image

Arguments

object

A variable representing the image object created.

Description

Specify an image to appear in the Model Advisor output. Model Advisor supports many image formats, including but not limited to JPG, BMP, and GIF.

Method Summary

NameDescription
setHyperlinkSpecify hyperlink location
setImageSourceSpecify image location

Methods

setHyperlink

Purpose

Specify hyperlink location

Syntax

setHyperlink(url)

Arguments

url

A string that specifies the location of the link.

Description

Specifies the location of the hyperlink.

setImageSource

Purpose

Specify image location

Syntax

setImageSource(source)

Arguments

source

A string specifying the location of the image.

Description

Specifies the location of the image.

Example

report_image = ModelAdvisor.Image;
report_image = ModelAdvisor.Image;
report_image.setImageSource(...
    'http://www.mathworks.com/access/helpdesk/help/techdoc/learn_matlab/p09.gif');

See Also

ModelAdvisor.LineBreak, ModelAdvisor.List, ModelAdvisor.Paragraph, ModelAdvisor.Table, ModelAdvisor.Text

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS