Worldmap and cvread functions
When I used the 'worldmap' function in command window it worked, however when I tried to use it in editor it didn't - showing some wierd errors:
Error in setMapProjection (line 7)
mapprojection = maps(mapprojection);
Error in axesm>setprop (line 377)
mstruct = setMapProjection(mstruct, propvalu);
Error in axesm (line 158)
mstruct = setprop(mstruct, propname{j}, propvalue{j});
Error in regionmap>constructMapAxesWorld (line 473)
ax = axesm(...
Error in regionmap (line 119)
h = constructMapAxes(latlim, lonlim, e);
Error in worldmap (line 121)
ax = regionmap(mfilename, varargin);
Error in maps (line 1)
worldmap([20 40],[20 40])
In addition, I find problems with 'csvread' function. I use matlab remotely from a university account, so it doesn't find the address I write. Is there a right way to use it?
Cite As
Miraa Nsirat (2026). Worldmap and cvread functions (https://www.mathworks.com/matlabcentral/fileexchange/63848-worldmap-and-cvread-functions), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Mapping Toolbox > Map Display > Map Customization >
- Radar > Mapping Toolbox > Map Display > Map Customization >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
