I have 3 columns of value in excel that I want to input them to Matlab. What's the coding to input a column of values into a defined variable in Matlab?

조회 수: 2 (최근 30일)
Let's say the values in column one is read as the variable 'num_1'. So how should the coding be?

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2016년 8월 21일
c1=xlsread(yourfile,'A:A')

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by