How do I add a shapefile?
Show older comments
Undefined function or variable 'convertStringsToChars'.
Error in shaperead (line 201)
[varargin{:}] = convertStringsToChars(varargin{:});
I keep getting the error when trying to add the African map shapefile, how can rectrify this?
6 Comments
Hari Krishna Ravuri
on 2 Aug 2019
Can you share the shapefile
Boipelo Thande
on 7 Aug 2019
KSSV
on 7 Aug 2019
Whay you have is a xml file.......how did you try to read it?
Adam Danz
on 7 Aug 2019
Boipelo Thande
on 7 Aug 2019
Answers (1)
Adam Danz
on 7 Aug 2019
(continued from the comments section under the question).
The convertStringsToChars() function became available in r2017b. Check that your matlab release is prior to r2017b.
ver()
Categories
Find more on Data Import and Export in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!