Main Content

ModelAdvisor.Image Class

Namespace: ModelAdvisor
Superclasses:

Include image in Model Advisor output

Description

The ModelAdvisor.Image class adds an image to the Model Advisor output.

Creation

Description

object = ModelAdvisor.Image creates a handle to an image object, object, that the Model Advisor displays in the output. The Model Advisor supports many image formats, including, but not limited to, JPEG, BMP, and GIF.

Methods

setHyperlinkSpecify hyperlink location
setImageSourceSpecify image location

Copy Semantics

Handle. To learn how this affects your use of the class, see Copying Objects in the MATLAB® Programming Fundamentals documentation.

Examples

collapse all

You can include an image in Model Advisor results by using the ModelAdvisor.Image formatting class in your check callback function.

Create a Model Advisor image object.

image_obj = ModelAdvisor.Image;