In reply to gianni.

You forgot to use quotation marks, which are needed to define the character vector that contains the two-level names:

dsNames = {'FOO.A' 'BAR.B' 'STAT.C'};