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!