Mapping Toolbox    
rootlayr

Use workspace variables to construct a cell array for input to the mlayers tool

Syntax

Description

rootlayr allows the mlayers tool to be used with workspace variables. It constructs a cell array that contains all the structure variables in the current workspace. This cell array is returned in the variable ans, which can then be an input to mlayers. If there is an existing variable named ans, it is overwritten.

The recommended calling procedure is rootlayr;mlayers(ans);

Examples

rootlayr will create a cell array named ans, consisting of the three structure variables in the following workspace.

The command mlayers(ans) can now be used to activate the mlayers tool for the structures contained in ans.

See Also
geographic data structure
Specially formatted structure for map data
mlayers
Interactive geographic data structure manipulation (see GUI Reference)


  rhxrh rotatem