Function Reference
— Function File: [reg, prop] = parseparams (params)

Return in reg the cell elements of param up to the first string element and in prop all remaining elements beginning with the first string element. For example

          [reg, prop] = parseparams ({1, 2, "linewidth", 10})
          reg =
          {
            [1,1] = 1
            [1,2] = 2
          }
          prop =
          {
            [1,1] = linewidth
            [1,2] = 10
          }

The parseparams function may be used to separate 'regular' arguments and additional arguments given as property/value pairs of the varargin cell array.

See also: varargin