Two variables need to be connected to one struct variable.
조회 수: 7 (최근 30일)
이전 댓글 표시
two variable need to be connected to one structure. ie... Results.Name= lastname{target}, firstname{target}
THey come from two different sheets. I just cannot seem to write it in correctly for the code to run.
댓글 수: 0
채택된 답변
James Tursa
2020년 9월 29일
What about something like this:
Results.First_Name = first_name{target};
Results.Last_Name = last_name{target}:
댓글 수: 4
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Structures에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!