reading of xls file without nan

2 Ansichten (letzte 30 Tage)
Chandini Govind
Chandini Govind am 1 Okt. 2019
Kommentiert: Chandini Govind am 2 Okt. 2019
hi
i have xls sheet as dataset and is read using xlsread(),but at the columns having single character like 'M/F' or 'Y/N' the returned output is NaN.
how to solve this?

Akzeptierte Antwort

meghannmarie
meghannmarie am 1 Okt. 2019
Use this to get a cell array of mixed data types (doubles and char):
[~,~,raw] = xlsread('myFile.xlsx')

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by