a cell of double heading

3 ビュー (過去 30 日間)
Guido Pastore
Guido Pastore 2019 年 3 月 16 日
コメント済み: Star Strider 2019 年 3 月 16 日
Is it possible to add initial lines to a cell as if they were headings?
For example: given a cell of double 5x3 is it possible to add a line where the fields are strings?

採用された回答

Star Strider
Star Strider 2019 年 3 月 16 日
Yes. Use Tables (link).
  6 件のコメント
Guido Pastore
Guido Pastore 2019 年 3 月 16 日
Sorry, I have another question.
I have, for example, 4 cell. How can I create a struct with all these cell??
Star Strider
Star Strider 2019 年 3 月 16 日
I am not certain that I understand what you want.
If you want to assign the table to a structure element, try this:
S.T1 = T;
See the documetation on Structures (link) for details.

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by