フィルターのクリア

Why am I getting an error when running this R2024a example in R2023b?

14 ビュー (過去 30 日間)
Bobby Anderson
Bobby Anderson 2024 年 4 月 2 日
コメント済み: Star Strider 2024 年 4 月 2 日
I'm trying to run this example in R2023b. I'm looking for the "Area" data that is in the R2024a example and is not in the R2023b example.
The error occurs when calling this function:
function GT = contourDataGrid(latd,lond,data,levels,proj).
The error occurs in this command:
Area = area(Shape);
Error using area
Input arguments must be numeric, datetime, duration, or categorical.
I'm not noticing any command specific to R2024a that could not be used in R2023a.
Thanks for your help!

採用された回答

Star Strider
Star Strider 2024 年 4 月 2 日
The area function was introduced in R2024a, according to the documentation.
  2 件のコメント
Bobby Anderson
Bobby Anderson 2024 年 4 月 2 日
Thank you! Looks like there are several area functions and now a new one!
Star Strider
Star Strider 2024 年 4 月 2 日
As always, my pleasure!
I was surprised to find it, since I thought it was another, well-established, area function.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeReference Applications についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by