필터 지우기
필터 지우기

how to change the data type when read .xls file using xlsread() function

조회 수: 4 (최근 30일)
kanwal preet
kanwal preet 2015년 8월 18일
댓글: Walter Roberson 2015년 8월 18일
i created a xls file with uint16 data type, when i am trying to read it using xlsread() it store in double type, i use this code
varXls=xlsread('filename');
varXLs store my data in double i want it in uint16 type, help me to change this type

답변 (1개)

Adam
Adam 2015년 8월 18일
varXls = uint16( xlsread('filename') );

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by