필터 지우기
필터 지우기

How to extract a certain row from a struct based on a specific column name?

조회 수: 35 (최근 30일)
Hello!
I want to get the row with the DisplayName 'vfzg_w' based on the name, not the number of the field!
After that I want to work with the field Data of this specific row, is that possible?
Thanks for your advice!

채택된 답변

源樹 上林
源樹 上林 2020년 8월 13일
たぶんこう
data(data.DisplayName == 'vfzg_w', :)

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by