I might be wrong, but as far as I understand Matlab does not have a "subsection" option when publishing.
However, if I go for instance here (-mkdir-
documentation), under the Examples section there are three "subsections".
How would you obtain this? If it's through HTML only and not through direct Matlab options, is it possible to assign a shortcut or button to create the HTML fragment?