I want to edit values of a cell in excel based on certain condition. Can any body pls help me..??

2 次查看(过去 30 天)
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.

采纳的回答

Christiaan
Christiaan 2015-3-23
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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Database Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by