I want to edit values of a cell in excel based on certain condition. Can any body pls help me..??
2 views (last 30 days)
Show older comments
sapna prajapati
on 23 Mar 2015
Commented: sapna prajapati
on 20 Apr 2015
there is certain condition based on which i need to edit the data base. I need to call excel database iteratively row by row and edit certain cell value of it.
0 Comments
Accepted Answer
Christiaan
on 23 Mar 2015
Dear Sapna,
Please have a look at the Documentation of the MATLAB function xlsread here. At this link you can find a method how to read the value of a certain cell. You could use an if statement to correct this cell if necessary. The change can stored in the excel file with the MATLAB function xlswrite. If the name of the file which you save is equal to the name you have read from, you can 'correct' your excel sheet with your if statement in MATLAB.
Good luck! Christiaan
More Answers (0)
See Also
Categories
Find more on Database Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!