Remote data transfer to excel

5 Ansichten (letzte 30 Tage)
Emil
Emil am 15 Jun. 2022
Beantwortet: Rahul am 16 Okt. 2024
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?

Antworten (1)

Rahul
Rahul am 16 Okt. 2024
Hi @Emil,
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:
Hope this helps! Thanks.

Community Treasure Hunt

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

Start Hunting!

Translated by