Clear Filters
Clear Filters

How to add another file into matlab folder

3 views (last 30 days)
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.

Answers (1)

Image Analyst
Image Analyst on 2 Nov 2012
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.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!