Remote data transfer to excel
조회 수: 5 (최근 30일)
이전 댓글 표시
I would like to transfer data from one computer to another and write it in Excel. The computers are connected through a network. Computer 1 will be running Matlab and computer 2 will be running Excel. It is desired that computer 2 will not be running Matlab. Is it possible to do this?
댓글 수: 0
답변 (1개)
Rahul
2024년 10월 16일
I understand that you wish to transfer data from MATLAB to Excel on different desktops.
You can make use of functions like 'writetable' or 'xlswrite' to write the data avilable in MATLAB to Excel formats like '.XLS' or '.XLSX'. Here is an example:
% Considering 'Table' to be the variable containing table data.
writetable(Table, 'Table.xlsx')
You can also refer to the following MATLAB Answer:
These files can be opened in Excel on the other desktop by transferring them over your local network or you can also make use of the MATLAB Drive which offers cloud services to manage your files across devices.
If required to read the Excel file in MATLAB, you can make use of the functions like 'readtable' or 'xlsread'. Here is an example:
Table = readtable("Table.xlsx")
You can refer to the following MathWorks documentations to know more about these functions:
'Write Data To Excel Spreadsheets': https://www.mathworks.com/help/releases/R2022a/matlab/import_export/exporting-to-excel-spreadsheets.html
Hope this helps! Thanks.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!