User`s guide

15-7
referencing matrices or vectors). There are only a few Mapping Toolbox functions that
can still generate display structures (by importing data from external file formats):
dcwdata — Returns line/patch display structures
dcwgaz — Returns line/patch display structures
demdataui — Returns “regular”—as in regular data grid, that is—display structures
mlayers — GUI to control plotting of display structure elements
tgrline — Returns line/patch display structures
vmap0data — Returns line/patch display structures
vmap0ui — GUI for selecting data from Vector Map Level 0
Even fewer functions accept display structures as inputs:
displaym — Displays elements of a display structure
extractm — Extracts lat-lon coordinates from line/patch display structure
In addition to displaym and extractm, the updategeostruct function converts a line
or patch display structure to a geostruct.
For more information, see Mapping Toolbox Geographic Data Structures.
Identifiers Provided for all Warnings
All warnings issued from within Mapping Toolbox functions now include identifiers,
enabling you to suppress them at your own discretion. Previously, this was possible
for only certain warnings, but with the addition of new identifiers in over two dozen
functions in R2008a, all warnings are now covered. For example, you can turn off the
warning that setpostn issues when given a latitude-longitude position outside the limits
of the specified data grid. In this case, the warning identifier is
'map:setpostn:pointOutsideLimits'
You can suppress it using the following statement:
warnstate = warning('off','map:setpostn:pointOutsideLimits');
Then, after making your call to setpostn, you can restore the original warning state
with
warning(warnstate);
See the MATLAB warning function reference page for the for more information on
turning warnings off and on and managing the warning state.