How to search a table inside a cell

조회 수: 2 (최근 30일)
Jason Burke
Jason Burke 2021년 4월 8일
댓글: Adam Danz 2021년 4월 8일
I have been given a workspace that has a cell variable that is 1x10 inside each cell is a table that is 100x16. Each column in each table has the same var names (time, rpm, temp, p1, p2, etc...).
I want to search the table in data(1,1) to find the first time what the temp is 300, but cannot figure out how.
  댓글 수: 3
Jason Burke
Jason Burke 2021년 4월 8일
I cannot find the syntax to access the table from the cell. The table that I want is at a(1,1) but when I try to look at the table I cannot figure that out.
Adam Danz
Adam Danz 2021년 4월 8일
Access the cell using curly brackets.
Access a column variable in a table using dot-notation.
C{i}.var

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Tables에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by