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?

1 次查看(过去 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