필터 지우기
필터 지우기

how can I read different data types from excel file

조회 수: 20 (최근 30일)
yasser
yasser 2019년 12월 3일
답변: galaxy 2019년 12월 4일
Hello,
I have an excel file with mixed data (charachters and numericals), how can I read this file with these data into one workspace?
I try to use this command [Mat_A_STRS,str]=xlsread(filename4,sheet); the result got into two arraies but I cant merge it into one workspace.
Thank You

채택된 답변

Fangjun Jiang
Fangjun Jiang 2019년 12월 3일
[NUM,TXT,RAW]=xlsread(FILE). Get the Raw data.

추가 답변 (1개)

galaxy
galaxy 2019년 12월 4일
You also use readtable function
data = readtable(FILE,'Sheet', 'sheet_name', 'ReadVariableNames', false);

카테고리

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

제품


릴리스

R2011b

Community Treasure Hunt

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

Start Hunting!

Translated by