MATLAB Report Generator | ![]() ![]() |
Changing the Outline String
The outlinestring.m
method creates a string that is a one-line description of the component in the setup file outline in the left-hand side of the Setup File Editor.
outlinestring.m
contains the following lines of code.
function strout=outlinestring(c) % OUTLINESTRING display short component description % STR=OUTLINESTRING(C) Returns a terse description of the % component in the setup file editor report outline. The % default outlinestring method returns the component's name. info=getinfo(c);
To change the outline string, add the following line of code in outlinestring.m
.
This takes the first part of the outline string from out.Name
in getinfo.m
, adds a dash, and the second part from out.att.Plot_Title
, which is My Random Plot
. The string representing the new component in the setup file outline now has following appearance.
![]() | Creating Another Attribute | Running the New Component | ![]() |