I have a list of words in an excel file. I want to delete on item from the list and then move up the words below so there are no blanks, empty cells. I read the file with xlsread. Then I get the shorten list. Finally, I write that array into the same file. The problem is the last item of the original array is still there. For example if the list of words is 'word1 word2 word3' and I delete 'word2' producing 'word1 word3' When I wire this the file contains 'word1 word3 word3' I do not want the second 'word3' there. I've tried putting '' in the last row but that appears as NaN in the excel file.
MATLAB: Xlswrite an empty string
activexexcelxlswrite
Related Question
- How to save an image loaded in matlab in excel? file
- Account sign in window pops up when files are stored on onedrive using actxserver with Workbooks.Open
- How to open an existing Excel file and communicate with it using ActiveX
- How to delete worksheets in the Excel file using MATLAB
- Xlswrite to create file with xlsx extension
Best Answer