⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 page_main.m

📁 关于高层建筑强风条件下风压系数计算
💻 M
字号:
function varargout = Page_Main(varargin)global   textA  axesA_text  textB  axesB_text  input_coords  pos_on  pos_off% PAGE_MAIN M-file for Page_Main.fig%      PAGE_MAIN, by itself, creates a new PAGE_MAIN or raises the existing%      singleton*.%%      H = PAGE_MAIN returns the handle to a new PAGE_MAIN or the handle to%      the existing singleton*.%%      PAGE_MAIN('Property','Value',...) creates a new PAGE_MAIN using the%      given property value pairs. Unrecognized properties are passed via%      varargin to Page_Main_OpeningFcn.  This calling syntax produces a%      warning when there is an existing singleton*.%%      PAGE_MAIN('CALLBACK') and PAGE_MAIN('CALLBACK',hObject,...) call the%      local function named CALLBACK in PAGE_MAIN.M with the given input%      arguments.%%      *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 Page_Main% Last Modified by GUIDE v2.5 01-Sep-2004 13:59:02% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct('gui_Name',       mfilename, ...                   'gui_Singleton',  gui_Singleton, ...                   'gui_OpeningFcn', @Page_Main_OpeningFcn, ...                   'gui_OutputFcn',  @Page_Main_OutputFcn, ...                   'gui_LayoutFcn',  [], ...                   'gui_Callback',   []);if nargin & isstr(varargin{1})    gui_State.gui_Callback = str2func(varargin{1});endif 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 Page_Main is made visible.function Page_Main_OpeningFcn(hObject, eventdata, handles, varargin)global axesB_textpos_on = get(handles.axesA,'position');pos_off = [0.99  0.01  0.01  0.01];input_coords = [1.4*pos_on(1) 1.1*pos_on(2) 0.8*pos_on(3)  0.8*pos_on(4)];fig=findobj('Tag','Page_Main_Fig');textB = uicontrol(fig,'style','text','units','normalized','FontSize',16,'FontName',...    'Garamond','position', input_coords, 'tag','text_area','string',axesB_text);handles.output = hObject;guidata(hObject, handles);%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --- Outputs from this function are returned to the command line.function varargout = Page_Main_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 structurevarargout{1} = handles.output;% --- Executes on button press in Go_Back_Button.function Go_Back_Button_Callback(hObject, eventdata, handles)% hObject    handle to Go_Back_Button (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% --- Executes on button press in Exit_Button.function Exit_Button_Callback(hObject, eventdata, handles)close all

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -