How can I determinate which is the last column of an excel file?
6 views (last 30 days)
First of all, thanks for reading this. Well, I have an excel file with n variables (columns) and I have to read them with matlab, then I have to select one of them and do operations with that variable. Finally, I have to write/save that new variable in the same file, next to the last column used in that excel spreadsheet.
I doubt if I should use xlswrite, but I have to specify the column and the row where I want to "write" my new variable. I hope I had been explicit with my question. Greetings.
PD. If you could write parts of a code to be more explicit, I'll be grateful.