How to write / update existing data in excel file using xlwrite

2 views (last 30 days)
Dear experience
i have matlab code write an integer values for comparing images in folder where the result written in excel file; i have used rows to write selected images names and columns for folders names.. my problem is when the images has found in more than one time, in my existing code its only written 1 if its exist and 0 if not but i hope to updating this value and writing the count of that an image has repeated more than one in folder.. so is there any updating in xlwrite function such this as shown in {+1}..
xlswrite(xls-folder-name, {+1}, xls-sheetname, file-tr );
thanks for any suggestion

Accepted Answer

Jan
Jan on 5 Jan 2017
You can import the column, update the value in Matlab and write the column back.

More Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!