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 Center および File ExchangeData Import from MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by