shaperead function not available?

23 ビュー (過去 30 日間)
Tintin
Tintin 2013 年 9 月 11 日
回答済み: Adam 2019 年 3 月 8 日
Hello, I think this is a simple question. I used shaperead to input a shape file into matlab as follow:
S = shaperead('xxx.shp');
However, the error message was
??? Undefined function or method 'shaperead' for input arguments of type 'char'.
Is my matlab version missing some packages? Anyway, thanks much for your help!
  1 件のコメント
Nicolas Hey
Nicolas Hey 2019 年 3 月 8 日
Same question for me :'(

サインインしてコメントする。

採用された回答

Adam
Adam 2019 年 3 月 8 日
I don't know where you came across the
shaperead
function, but a very quick search shows that it requires the Mapping toolbox so if you don't have this toolbox installed or licensed then you don't have access to it.
Even just typing
shaperead
on command line in recent versions of Matlab tells you:
shaperead.png
though I don't think old versions of Matlab used to do this (almost certainly, I think, not back in 2013 when this question was originally asked)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGeographic Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by