New column to a table with the dynamic name
3 次查看(过去 30 天)
显示 更早的评论
I new to add a new column to a table. The name of column is like this:
column_name=strcat('A_',num2str(se));
and then I will add the 'column_name' to the table like this:
table.column_name=...
How can I merge these two lines to one line? I mean defining the table column and adding it to the table in one line?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!