source: issm/branches/trunk-jpl-damage/src/m/qmu/expandresponses.m@ 11577

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 
1function dresp=expandresponses(md,responses)
2%EXPANDRESPONSES - expand responses
3
4fnames=fieldnames(responses);
5
6for 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
14end
Note: See TracBrowser for help on using the repository browser.