Built-in MATLAB classes have values for a Description and DetailedDescription attribute:
>> ?handle
ans =
meta.class handle
Package: meta
Propertie
Use arguments to the classdef:
classdef (Description='A type of story.',...
DetailedDescription='Once upon a time..') MyFairyTaleClass
Commandline:
>> ?MyFairyTaleClass
ans =
meta.class handle
Package: meta
Properties:
Name: 'MyFairyTaleClass'
Description: 'A type of story.'
DetailedDescription: 'Once upon a time..'
Hidden: 0
Sealed: 0
ConstructOnLoad: 0
HandleCompatible: 0
InferiorClasses: {0x1 cell}
This is an undocumented feature it seems.