필터 지우기
필터 지우기

Transferring data (many decimals) from Matlab to excel

조회 수: 6 (최근 30일)
Camilla
Camilla 2024년 5월 24일
댓글: Stephen23 2024년 5월 24일
Hello everybody, I have a question regarding transfer of data from matlab to an excel sheet.
I have many tables with a huge amount of data consisting of numbers with many decimals. I want to transfer those to excel. If I copy paste it, excel puts a . every 3 decimals instead of where the , should actually be.
Example: 1.510035138631854 gets converted to --> 151.003.513.863.185 in excel, where it should be 1,510035138631854
Does anyone have an idea on how to fix this problem? I am working on a Mac and with MatlabR2024a.
Thanks so much in advance :)
  댓글 수: 1
Stephen23
Stephen23 2024년 5월 24일
"Does anyone have an idea on how to fix this problem?"
Do not copy-and-paste table/numeric data. Export using WRITETABLE.

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

답변 (1개)

Harald
Harald 2024년 5월 24일
편집: Harald 2024년 5월 24일
Hi Camilla,
instead of interactive copy-pasting, I would consider commands like writetable or writematrix. This may also help you to automate working with lots of tables and data.
Best wishes,
Harald

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

태그

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by