Matter with worldmap: Warning: Variable 'worldRegions' not found
1 view (last 30 days)
Szabó-Takács Beáta on 1 Jul 2016
Until today morning I get error message if I use
Warning: Variable 'worldRegions' not found.
> In regionmap (line 29)
In worldmap (line 121)
Undefined function or variable 'worldRegions'.
Error in regionmap (line 30)
validRegions = worldRegions;
Error in worldmap (line 121)
ax = regionmap(mfilename, varargin);
I use Matlab R2015b. I chacked the set path and \toolbox\shared\maputils roles in the list. Can someone help me what should i do?
Walter Roberson on 1 Jul 2016
You possibly have a regions.mat on your path that is interfering with finding toolbox/map/mapdisp/private/regions.mat . The regions.mat file that it finds is expected to have a variable named WorldRegions and whichever regions.mat it is finding does not have that variable. Try
which -all regions.mat
to see which regions.mat is being found.