Excel column informtion input

1 次查看(过去 30 天)
Tristan
Tristan 2022-12-1
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
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

Community Treasure Hunt

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

Start Hunting!

Translated by