P.highlight(Caption,Range,...)
P
[ struct ] - Report object created by the report.new
function.
Caption
[ char ] - Caption used to annotate the highlighted area.
Range
[ cell | numeric ] - Date range, or a cell array of ranges, that will be highlighted.
'hPosition='
[ 'centre'
| 'left'
| 'right'
] - (Inheritable from parent objects) Horizontal position of the caption.
'vPosition='
[ 'bottom'
| 'middle'
| 'top'
] - (Inheritable from parent objects) Vertical position of the caption relative to the edges of the highlighted area.
See help on generic options in report objects.