필터 지우기
필터 지우기

how to read a value in matlab from an xls file

조회 수: 1 (최근 30일)
R@SH
R@SH 2021년 10월 4일
댓글: R@SH 2021년 10월 5일
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.

채택된 답변

KSSV
KSSV 2021년 10월 4일
T = readtable('whatever.xls')
  댓글 수: 7
Walter Roberson
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.
R@SH
R@SH 2021년 10월 5일
Thank you so much dear Walter

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by