how to change the data type when read .xls file using xlsread() function
Ältere Kommentare anzeigen
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 Kommentar
Walter Roberson
am 18 Aug. 2015
Please attach a sample xls file.
Antworten (1)
Adam
am 18 Aug. 2015
varXls = uint16( xlsread('filename') );
1 Kommentar
kanwal preet
am 18 Aug. 2015
Kategorien
Mehr zu Workspace Variables and MAT Files finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!