필터 지우기
필터 지우기

How to store data in a specific row and column from matlab to an excel

조회 수: 4 (최근 30일)
That is i want to 5 4 6 1 In each different rows and 4 6 1 8 In each different columm All these values will be inserted one by one using an edit box

채택된 답변

Quentin Garçon
Quentin Garçon 2019년 6월 6일
I think you can just use the function xlswrite. With this syntax, you can specify a range using the syntax 'C1:C2', where C1 and C2 are opposing corners of the region.
  댓글 수: 2
deenessen armoogum
deenessen armoogum 2019년 6월 6일
Will this overwrite the data or will it store it in another rows
Quentin Garçon
Quentin Garçon 2019년 6월 7일
Well you are the one choosing where Matmab is writing in the file, so you just have to be careful not to say twice the same location or else it will delete the first thing.
Make sure that you always put different places.
However, I have just realized that you shoul read the writematrix documentation maybe instead of the xlswrite. I have always used xlswrite but is not recommended anymore since the R2019a release.

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

추가 답변 (1개)

deenessen armoogum
deenessen armoogum 2019년 6월 7일
I used old version r2007b Writematrix is not included

카테고리

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

제품


릴리스

R2007b

Community Treasure Hunt

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

Start Hunting!

Translated by