table function creating structs

1 回表示 (過去 30 日間)
Jesper Solheimsnes
Jesper Solheimsnes 2021 年 4 月 23 日
回答済み: Steven Lord 2021 年 4 月 23 日
Hi Matlab community,
When I try to create an empty table, matlab automatically creates a "struct" instead. See photo.
I have never han any issues with this before, this just started to happen out of nowhere and I cant fix it.
I am aware that you are able to use struct2table or something like this, but why is this happening in the first place?
I am using matlab R2021a.
Thanks for any help!

採用された回答

Steven Lord
Steven Lord 2021 年 4 月 23 日
Check that you haven't written your own table function or downloaded one that's taking precedence over the built-in table function.
which -all table

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by