Getting structure content using strings
이전 댓글 표시
I have kt containing data type "strings", one of them is "grad"i.e kt(1,1)=grad which is a string. I am also trying to get the content of the structure(Data.edata.grad) in my data using the string data set by doing Data.edata.kt(1,1) but i am getting the error kt(1,1) is not an existing field. How can i convert a string to a structure or how can i use my string data set to get the structures?
댓글 수: 3
James Tursa
2018년 8월 10일
Show us the actual code, not your description of it. And copy & paste the entire error message for us to see.
samuel okeleye
2018년 8월 11일
편집: Walter Roberson
2018년 8월 11일
samuel okeleye
2018년 8월 11일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Structures에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!