Excel column informtion input

1 view (last 30 days)
Tristan
Tristan on 1 Dec 2022
Answered: Star Strider on 2 Dec 2022
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.

Answers (1)

Star Strider
Star Strider on 2 Dec 2022
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.

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!