How do I add a shapefile?

13 visualizzazioni (ultimi 30 giorni)
Boipelo Thande
Boipelo Thande il 30 Lug 2019
Modificato: Adam Danz il 8 Ago 2019
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 Commenti
Boipelo Thande
Boipelo Thande il 7 Ago 2019
I started using R2018b then went lower to R2015a. Thanks, will use r2017b.
Adam Danz
Adam Danz il 7 Ago 2019
Modificato: Adam Danz il 8 Ago 2019
That should fix the problem.
I'll move my comment to the answers section so your question appears as answered.

Accedi per commentare.

Risposte (1)

Adam Danz
Adam Danz il 7 Ago 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()

Prodotti


Release

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by