Is it possible to transfer a variable with values from my workspace into a excel spreadsheet automatically in my Matlab code?

조회 수: 2 (최근 30일)
I am new to matlab so my knowledge is very limited and was curious to see if it is possible to automatically send different variables to a specific spot in excel when you run the code? The numbers I am getting in my Variable come from a processed image, so each run will have different numbers.
  댓글 수: 1
Stephen23
Stephen23 2022년 7월 1일
"...automatically send different variables to a specific spot in excel..."
Excel is an application, so perhaps you really mean that you want to write to some kind of Excel file, e.g. .XLSX. For that you could use WRITETABLE, WRITECELL, WRITEARRAY, etc., all of which let you specify the sheet and range you want to export data to.

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

답변 (1개)

Keshav
Keshav 2022년 7월 2일
As Stephen said you can follow this documentation to write data in excel file.

카테고리

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