- MATLAB 在同一个m文件中写多个独立的功能函数
- Matlab 结构体(struct)使用
- MATLAB读取EXCEL数据
sheet = 2; col = 10; col = num2str(col);
a = xlsread(read_path,sheet,[col,':',col]); % 读取一整行数据(第10行)
row = 'B';
b = xlsread(read_path,sheet,[row,':',row]); % 读取一整列数据(第B列)
c = xlsread(read_path,sheet,[col,':',row]); % 读取单元格的数据(B10)
d = xlsread(read_path,sheet,'B10:D15'); % 读取某个区域的数据(B10:D15)