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!