MATLAB provides a set of sample map data that can be loaded and used in the Mapping Toolbox. For a description of the files that are available, run the command:
To simply list all of the available files in the command window, run:
>> ls(fullfile(matlabroot, 'toolbox', 'map', 'mapdata'))
To search for additional data that can be used as the base layer of a map, you can utilize the Web Map Service (WMS), which provides public access to hundreds of thousands of layers of geographic data. The Mapping Toolbox contains a database of over 1000 stored WMS servers and provides functions to allow you to search for and retrieve desired data.
The Web Map Service:
Example of retrieving data from a server:
Best Answer