Using xlsread to put info into a cell array

조회 수: 2 (최근 30일)
Ellen De Jonghe
Ellen De Jonghe 2020년 1월 13일
답변: Star Strider 2020년 1월 13일
Hye!
I have to use xlsread to put information from an excell file into a cell array.
My teacher has given the following instruction:
[~,~,tabel] = xlsread('zurenEnBasen.xlsx')
But I don't understand what the [~,~,tabel] thing does...
Anyone who knows?

채택된 답변

Star Strider
Star Strider 2020년 1월 13일
But I don't understand what the [~,~,tabel] thing does...
The xlsread function has three possible outputs. The tilde (~) signs here tell MATLAB to ignore the first two of those outputs. See the documentation section on Ignore Function Outputs for an extended explanation.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by