How do I add a shapefile?

13 次查看(过去 30 天)
Boipelo Thande
Boipelo Thande 2019-7-30
编辑: Adam Danz 2019-8-8
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 个评论
Boipelo Thande
Boipelo Thande 2019-8-7
I started using R2018b then went lower to R2015a. Thanks, will use r2017b.
Adam Danz
Adam Danz 2019-8-7
编辑:Adam Danz 2019-8-8
That should fix the problem.
I'll move my comment to the answers section so your question appears as answered.

请先登录,再进行评论。

回答(1 个)

Adam Danz
Adam Danz 2019-8-7
(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()

类别

Help CenterFile Exchange 中查找有关 Mapping Toolbox 的更多信息

产品


版本

R2015a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by