Option
Description
Additional Details
Image
Insert an image. You can insert images only in text lines. If you insert an image into
a code line, MATLAB places the image in a new text line directly
under the selected code line.
To change the alternate text, alignment, and size of an image after
inserting it, right-click the image and select Edit Image... from
the context menu.
• Alt Text — Add text to the edit field to specify alternative text
for the image.
• Alignment — Select from the available options to specify how
the image aligns with the other items in the row.
• Size — To specify a size relative to the original image size,
select Relative (%) and specify the width and height of the
image as a percentage of the original image. To specify an
absolute size, select Absolute (px) and specify the width and
height of the image in pixels. Select Keep Aspect Ratio to
maintain the aspect ratio while resizing.
To return to the original image size, right-click the image and
select Reset Image.
Hyperlink Insert a
hyperlink.
You can insert hyperlinks only in text lines. If you insert a
hyperlink into a code line, MATLAB places the hyperlink in a new
text line directly under the selected code line.
• Select Web page to insert a hyperlink to an external web page.
Then, enter the URL of the web page.
• Select Location in document to insert a hyperlink that points
to an existing location within the document. When prompted,
click the desired location within the document to select it as the
target. You also can use the Alt + Up Arrow and Alt + Down
Arrow keyboard shortcuts. Location can be a code section, text
paragraph, title, or heading. Linking to individual lines of text
or code is not supported.
• Select Existing file to insert a hyperlink to a file. Then, enter
the file path.
Equation
Insert an
equation.
You insert add equations only in text lines. If you insert an
equation into a code line, MATLAB places the equation in a new
text line directly under the selected code line. For more
information, see “Insert Equations into the Live Editor” on page
19-27.
To format existing text, use any of the options included in the Live Editor tab Text section:
19 Live Scripts and Functions
19-22
Description
Additional Details
Image
Insert an image. You can insert images only in text lines. If you insert an image into
a code line, MATLAB places the image in a new text line directly
under the selected code line.
To change the alternate text, alignment, and size of an image after
inserting it, right-click the image and select Edit Image... from
the context menu.
• Alt Text — Add text to the edit field to specify alternative text
for the image.
• Alignment — Select from the available options to specify how
the image aligns with the other items in the row.
• Size — To specify a size relative to the original image size,
select Relative (%) and specify the width and height of the
image as a percentage of the original image. To specify an
absolute size, select Absolute (px) and specify the width and
height of the image in pixels. Select Keep Aspect Ratio to
maintain the aspect ratio while resizing.
To return to the original image size, right-click the image and
select Reset Image.
Hyperlink Insert a
hyperlink.
You can insert hyperlinks only in text lines. If you insert a
hyperlink into a code line, MATLAB places the hyperlink in a new
text line directly under the selected code line.
• Select Web page to insert a hyperlink to an external web page.
Then, enter the URL of the web page.
• Select Location in document to insert a hyperlink that points
to an existing location within the document. When prompted,
click the desired location within the document to select it as the
target. You also can use the Alt + Up Arrow and Alt + Down
Arrow keyboard shortcuts. Location can be a code section, text
paragraph, title, or heading. Linking to individual lines of text
or code is not supported.
• Select Existing file to insert a hyperlink to a file. Then, enter
the file path.
Equation
Insert an
equation.
You insert add equations only in text lines. If you insert an
equation into a code line, MATLAB places the equation in a new
text line directly under the selected code line. For more
information, see “Insert Equations into the Live Editor” on page
19-27.
To format existing text, use any of the options included in the Live Editor tab Text section:
19 Live Scripts and Functions
19-22
