How to add another file into matlab folder
조회 수: 2 (최근 30일)
이전 댓글 표시
I have a matlablab fle which is located in the current matlab folder . The file name is Neap20_qsstruc and when opened in work space it appeared as 'qsstruc' and contains 8 subfiles and I want to add one file into this sub files.
Any help in this regard is appreciated.
댓글 수: 0
답변 (1개)
Image Analyst
2012년 11월 2일
I assume from your description you did something like this:
fullFileName = fullfile(pwd, 'Neap20_qsstruc.mat');
storedStructure = load(fullFileName);
Now when you talk about subfiles, I don't know what you mean. The structure you loaded in, storedStructure, will have "members" that are members (also known as "fields") of the structure. These are variables that you stored in the mat file. So what does "subfile" mean to you, because to me it is non-standard terminology.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Workspace Variables and MAT-Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!