Suppose I have a table T. I want to add a variable x to T. Please advise the steps.

 採用された回答

Peter Perkins
Peter Perkins 2018 年 6 月 5 日

0 投票

If your table is named T, and your workspace variable is named k, and you want the new variable in the table to be named k, then it's just
T.k = k

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeTables についてさらに検索

製品

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by