How to create a MATLAB struct that looks like a matrix?

1 次查看(过去 30 天)
Hello -
I would like to create a struct that looks like the attached example (i.e. with rows numbered in sequential order and columns labeled as field names with data at the intersections). Does anyone know how to do this? Everytime I create a struct I get the standard view in the variable window of listing struct field names with size of field as the value.
Any help would be greatly appreciated!
Thanks!
  5 个评论
Sindar
Sindar 2020-1-9
Why don't you want a table? They function similarly to structs, with dot-indexing

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Structures 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by