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 Exchange에서 Tables에 대해 자세히 알아보기

제품

태그

질문:

2018년 6월 5일

답변:

2018년 6월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by