Unable to use min( ) because the table is an index.
2 ビュー (過去 30 日間)
古いコメントを表示
Shinichiro Shimata
2021 年 4 月 2 日
コメント済み: Shinichiro Shimata
2021 年 4 月 2 日
When trying to use min( ) function, I get an error message saying "Unable to use a value of type table as an index". How can I fix it? The table is a 26999x1 table in Workspace and was imported from an excel spreadsheet.
採用された回答
Walter Roberson
2021 年 4 月 2 日
The table as index error suggests that you accidentally created a variable named min but also tried to call min() on a table.
You cannot apply min() to a table: you need to extract content from the table to apply min()
min(T{:, :} )
for example
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Tables についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!