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

조회 수: 6 (최근 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
  댓글 수: 1
sapna prajapati
sapna prajapati 2015년 4월 20일
its generating some kind of error I am finding code for relational database watermarking so i was searching for database handling codes

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by