MATLAB Code Sections - Script vs. Function

Viewed 642

When using Code Sections / Code Cells / Cell Mode (%%) in MATLAB R2014a and R2014b (see these two MathWorks links), the section highlighting within the editor works fine with both scripts and functions.
However, the sections are shown correctly in the Details Panel of the Current Folder window only for scripts and not for functions, see the lower left corner in the following two screenshots:

Section View in Current Folder is working for a Script

Section View in Current Folder is not working for a Function

Is there a setting to change this behaviour? I do very much appreciate the section view in the Details Panel of the Current Folder window, as it shows the overall structure of the script and allows easy navigation, which I would like to get for functions as well.

1 Answers
Related