Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Map & Match from .csv file and change Variable Name in Workspace
조회 수: 1 (최근 30일)
이전 댓글 표시
이 질문에 SOMASHEKAR M
님이 플래그를 지정함
I would like to read a .mat file which consists of all structure field names eg a,b,c etc. I have a .csv file in which Column 1 has the same field names and in Column 2 I have the names to be replaced. Upon every instance of Column 1 names I would like to replace the workspace variabe name with corresponding column 2 value.
댓글 수: 4
Jeffrey Clark
2022년 6월 12일
@SOMASHEKAR M, see my second example above IF you are talking about fields of a Structure array - MATLAB (mathworks.com). It would be something similar if you are talking about colums of a Table array with named variables that can contain different types - MATLAB (mathworks.com).
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!