Excel column informtion input

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

Asked:

on 1 Dec 2022

Answered:

on 2 Dec 2022

Community Treasure Hunt

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

Start Hunting!