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 件のコメント

Hari Krishna Ravuri
Hari Krishna Ravuri 2019 年 8 月 2 日
Can you share the shapefile
Boipelo Thande
Boipelo Thande 2019 年 8 月 7 日
Please find the attached zip file
KSSV
KSSV 2019 年 8 月 7 日
Whay you have is a xml file.......how did you try to read it?
Adam Danz
Adam Danz 2019 年 8 月 7 日
What matlab version are you using? The convertStringsToChars() function became available in r2017b.
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 日

0 投票

(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()

製品

リリース

R2015a

質問済み:

2019 年 7 月 30 日

編集済み:

2019 年 8 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by