Last change
on this file since 11577 was 11353, checked in by Mathieu Morlighem, 13 years ago |
minor: testing for George
|
File size:
381 bytes
|
Line | |
---|
1 | function dresp=expandresponses(md,responses)
|
---|
2 | %EXPANDRESPONSES - expand responses
|
---|
3 |
|
---|
4 | fnames=fieldnames(responses);
|
---|
5 |
|
---|
6 | for i=1:length(fnames)
|
---|
7 |
|
---|
8 | fhandle=str2func([class(responses.(fnames{i})) '.empty']);
|
---|
9 | dresp.(fnames{i})=fhandle();
|
---|
10 | for j=1:length(responses.(fnames{i}))
|
---|
11 | %call setupdesign
|
---|
12 | dresp.(fnames{i})=QmuSetupResponses(md,dresp.(fnames{i}),responses.(fnames{i})(j));
|
---|
13 | end
|
---|
14 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.