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.

Respuestas (1)

Star Strider
Star Strider el 2 de Dic. de 2022

0 votos

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.

Productos

Versión

R2021a

Etiquetas

Preguntada:

el 1 de Dic. de 2022

Respondida:

el 2 de Dic. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by