Problem in subdividing atlas

The function to subdivide the scouts is available in panel_scout.m:

It can be called with the syntax: panel_scout('SubdivideScouts', isAllScouts, Method, param)
However it is not easy to call from a script because it requires the surface to be loaded in the interface and the correct atlas selected manually.