How to i input new column into an excel sheet from matlab without replacing preexisting columns. I've tried to use the writematrix command, any suggestions.

回答 (1 件)

Star Strider
Star Strider 2022 年 12 月 2 日

0 投票

I would use readtable to read the file, then addvars to add one or more variables in the desired position, then writetable to write the result back to a file. All those should be available in R2021a.

製品

リリース

R2021a

タグ

質問済み:

2022 年 12 月 1 日

回答済み:

2022 年 12 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by