assess the xlread in elsefi command
    4 ビュー (過去 30 日間)
  
       古いコメントを表示
    
xlread is used to read xls files i want to use this command in ifelse condiations
if input==a
  B=AS
elseif 
  B=AQ
 it means that xlread the column AS
how i generate the code for above algorithm 
columnB = xlsread(filename,'B:B')
[EDITED, Jan, please format the code properly, thanks]
0 件のコメント
採用された回答
  Jan
      
      
 2015 年 3 月 16 日
        if strcmp(in, 'a')
  B = 'AS';
else  % not elseif
  B = 'AQ';
end
columnB = xlsread(filename, [B, ':', B]);
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
				Help Center および File Exchange で NaNs についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!