how to read a value in matlab from an xls file
    4 ビュー (過去 30 日間)
  
       古いコメントを表示
    
Hey Dear All,
I would like to refer to the Values of an excel file in my code. 
The value which I should read from the excel file is a function of two parametrs (PN and DN) which I include then on my matlab subroutine. 

My code should be able to recive a DN and a PN and then give the revelant value. 
I would appreciate to have your support.
0 件のコメント
採用された回答
  KSSV
      
      
 2021 年 10 月 4 日
        T = readtable('whatever.xls')
7 件のコメント
  Walter Roberson
      
      
 2021 年 10 月 4 日
				Until you have read some of the file, you cannot know which row corresponds to which DN value.
And no, it is not possible to do something like
readmatrix(filename, 'column', 5, 'row', findrow('column', 1, 'eq', 0.3))
You need a database to make queries like that.
その他の回答 (0 件)
参考
カテゴリ
				Help Center および File Exchange で Data Import from MATLAB についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!