필터 지우기
필터 지우기

Importing data from excel

조회 수: 3 (최근 30일)
Hazal Eylül
Hazal Eylül 2023년 4월 4일
편집: Image Analyst 2023년 4월 4일
When I try to import data from excel decimal numbers are shown with / not . or , For example in my excel decimal number is 567,45 matlab shows 567/45. How can I change it?
  댓글 수: 2
Mathieu NOE
Mathieu NOE 2023년 4월 4일
which function do you use to import excel files ?
Hazal Eylül
Hazal Eylül 2023년 4월 4일
I used readmatrix, I think matlab shows me the numbers as division. When i divide numbers next to /, I got the values in my excel.

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

답변 (1개)

Image Analyst
Image Analyst 2023년 4월 4일
What country is your operating system setup for? Is it a country that uses comma instead of period for the decimal point? Otherwise there could be a mismatch perhaps between how the workbook was created and your operating system. Did you create it, or did some other computer create it? Can you attach it?
  댓글 수: 4
Hazal Eylül
Hazal Eylül 2023년 4월 4일
It is not random, I took them from a database, they are real process numbers.
Image Analyst
Image Analyst 2023년 4월 4일
편집: Image Analyst 2023년 4월 4일
I know that of course. But I'm saying that if you don't want to share a workbook with your "real" numbers and strings, then just make up a "fake" workbook with fake, made-up numbers and strings and upload the fake workbook.

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by