Forked from HYCAR-Hydro / airGR
Source project has a limited visibility.
window_4a1.m 34.58 KiB
function varargout = window_4a1(varargin)
% WINDOW_4A1 MATLAB code for window_4a1.fig
%      WINDOW_4A1, by itself, creates a new WINDOW_4A1 or raises the existing
%      singleton*.
%      H = WINDOW_4A1 returns the handle to a new WINDOW_4A1 or the handle to
%      the existing singleton*.
%      WINDOW_4A1('CALLBACK',hObject,eventData,handles,...) calls the local
%      function named CALLBACK in WINDOW_4A1.M with the given input arguments.
%      WINDOW_4A1('Property','Value',...) creates a new WINDOW_4A1 or raises the
%      existing singleton*.  Starting from the left, property value pairs are
%      applied to the GUI before window_4a1_OpeningFcn gets called.  An
%      unrecognized property name or invalid value makes property application
%      stop.  All inputs are passed to window_4a1_OpeningFcn via varargin.
%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows only one
%      instance to run (singleton)".
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help window_4a1
% Last Modified by GUIDE v2.5 04-Nov-2016 14:59:17
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name',       mfilename, ...
    'gui_Singleton',  gui_Singleton, ...
    'gui_OpeningFcn', @window_4a1_OpeningFcn, ...
    'gui_OutputFcn',  @window_4a1_OutputFcn, ...
    'gui_LayoutFcn',  [] , ...
    'gui_Callback',   []);
if nargin && ischar(varargin{1})
    gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
    gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before window_4a1 is made visible.
function window_4a1_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% varargin   command line arguments to window_4a1 (see VARARGIN)
% Choose default command line output for window_4a1
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
%cd('E:\lcassan\Mes documents\macro_rugosite\cassiopee\gui_matlab')
%cd('D:\macrorugosite\cassiopee\gui_matlab')
load data_precalcul_nat
set(handles.edit1,'string',z_amont);
set(handles.edit17,'string',long);
set(handles.edit2,'string',ks);
set(handles.edit3,'string',D);
7172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
set(handles.edit4,'string',h); set(handles.edit5,'string',Cd); set(handles.edit6,'string',S); set(handles.edit7,'string',L); set(handles.edit8,'string',pf); set(handles.edit9,'string',C); set(handles.edit10,'string',Q); set(handles.edit20,'string',paramin); set(handles.edit21,'string',parapas); set(handles.edit22,'string',paramax); % UIWAIT makes window_4a1 wait for user response (see UIRESUME) % uiwait(handles.figure1); % --- Outputs from this function are returned to the command line. function varargout = window_4a1_OutputFcn(hObject, eventdata, handles) % varargout cell array for returning output args (see VARARGOUT); % hObject handle to figure % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Get default command line output from handles structure varargout{1} = handles.output; function edit1_Callback(hObject, eventdata, handles) % hObject handle to edit3 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit3 as text % str2double(get(hObject,'String')) returns contents of edit3 as a double % --- Executes during object creation, after setting all properties. function edit1_CreateFcn(hObject, eventdata, handles) % hObject handle to edit3 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white'); end function edit2_Callback(hObject, eventdata, handles) % hObject handle to edit2 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: get(hObject,'String') returns contents of edit3 as text % str2double(get(hObject,'String')) returns contents of edit3 as a double % --- Executes during object creation, after setting all properties. function edit2_CreateFcn(hObject, eventdata, handles) % hObject handle to edit2 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER.