How to add another file into matlab folder

3 次查看(过去 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.

回答(1 个)

Image Analyst
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.

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by