Changeset 876 for trunk/src/series/civ_input.m
- Timestamp:
- Feb 22, 2015, 11:07:07 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/civ_input.m
r874 r876 1860 1860 end 1861 1861 if isfield(Param,'OutputSubDir') 1862 Param=rmfield(Param,'OutputSubDir'); %remove output file option from civ_series1862 Param=rmfield(Param,'OutputSubDir'); %remove output file option from civ_series 1863 1863 end 1864 1864 ParamPatch1=Param.ActionInput.Patch1; %store the patch1 parameters 1865 1865 Param.ActionInput=rmfield(Param.ActionInput,'Patch1');% does not execute Patch 1866 Param.IndexRange.first_i=str2num(get(handles.ref_i,'String')); 1867 Param.IndexRange.last_i=Param.IndexRange.first_i; 1868 if strcmp(get(handles.ref_j,'Visible'),'on') 1869 Param.IndexRange.first_j=str2num(get(handles.ref_j,'String')); 1870 Param.IndexRange.last_j=Param.IndexRange.first_j; 1871 else 1872 Param.IndexRange.first_j=1; 1873 Param.IndexRange.last_j=1; 1874 end 1866 1875 [Data,errormsg]=civ_series(Param);% get the civ1+fix1 results 1867 1876 bckcolor=get(handles.civ_input,'Color'); … … 1938 1947 set(handles.Fix1,'BackgroundColor',[1 1 0]) 1939 1948 set(handles.Patch1,'BackgroundColor',[1 1 0]) 1949 Param.IndexRange.first_i=str2num(get(handles.ref_i,'String')); 1950 Param.IndexRange.last_i=Param.IndexRange.first_i; 1951 if strcmp(get(handles.ref_j,'Visible'),'on') 1952 Param.IndexRange.first_j=str2num(get(handles.ref_j,'String')); 1953 Param.IndexRange.last_j=Param.IndexRange.first_j; 1954 else 1955 Param.IndexRange.first_j=1; 1956 Param.IndexRange.last_j=1; 1957 end 1940 1958 [Data,errormsg]=civ_series(Param);% get the civ1+fix1 results 1941 1959 … … 2031 2049 ParamPatch2=Param.ActionInput.Patch2; %store the patch1 parameters 2032 2050 Param.ActionInput=rmfield(Param.ActionInput,'Patch2');% does not execute Patch 2051 Param.IndexRange.first_i=str2num(get(handles.ref_i,'String')); 2052 Param.IndexRange.last_i=Param.IndexRange.first_i; 2053 if strcmp(get(handles.ref_j,'Visible'),'on') 2054 Param.IndexRange.first_j=str2num(get(handles.ref_j,'String')); 2055 Param.IndexRange.last_j=Param.IndexRange.first_j; 2056 else 2057 Param.IndexRange.first_j=1; 2058 Param.IndexRange.last_j=1; 2059 end 2033 2060 [Data,errormsg]=civ_series(Param);% get the civ1+fix1 results 2034 2061 bckcolor=get(handles.civ_input,'Color');
Note: See TracChangeset
for help on using the changeset viewer.