reading of xls file without nan

조회 수: 1 (최근 30일)
Chandini Govind
Chandini Govind 2019년 10월 1일
댓글: Chandini Govind 2019년 10월 2일
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?

채택된 답변

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Text Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by