📄 acerca_softtdm.m
字号:
function varargout = Acerca_SoftTDM(varargin)% ACERCA_SOFTTDM M-file for Acerca_SoftTDM.fig% ACERCA_SOFTTDM, by itself, creates a new ACERCA_SOFTTDM or raises the existing% singleton*.%% H = ACERCA_SOFTTDM returns the handle to a new ACERCA_SOFTTDM or the handle to% the existing singleton*.%% ACERCA_SOFTTDM('Property','Value',...) creates a new ACERCA_SOFTTDM using the% given property value pairs. Unrecognized properties are passed via% varargin to Acerca_SoftTDM_OpeningFcn. This calling syntax produces a% warning when there is an existing singleton*.%% ACERCA_SOFTTDM('CALLBACK') and ACERCA_SOFTTDM('CALLBACK',hObject,...) call the% local function named CALLBACK in ACERCA_SOFTTDM.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 Acerca_SoftTDM% Last Modified by GUIDE v2.5 04-Aug-2003 02:50:57% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ... 'gui_OpeningFcn', @Acerca_SoftTDM_OpeningFcn, ... 'gui_OutputFcn', @Acerca_SoftTDM_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 Acerca_SoftTDM is made visible.function Acerca_SoftTDM_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 unrecognized PropertyName/PropertyValue pairs from the% command line (see VARARGIN)set(hObject, 'Units', 'pixels');fibra= imread('fibra3.jpg','jpg'); % Lee la imagen fibra.jpginfo = imfinfo('fibra3.jpg','jpg'); % Determina el tama駉 de la imagenposition = get(hObject, 'Position');axes(handles.axes3);image(fibra);set(handles.axes3, ... 'Visible', 'off', ... 'Units', 'pixels', ... 'Position', [360 117 info.Width-10 info.Height-10]);axis off% Choose default command line output for Acerca_SoftTDMhandles.output = hObject;% Update handles structureguidata(hObject, handles);% UIWAIT makes Acerca_SoftTDM wait for user response (see UIRESUME)% uiwait(handles.figure1);x=imread('boton050.jpg','jpg');set(handles.pushbutton1,'CData',x);% --- Outputs from this function are returned to the command line.function varargout = Acerca_SoftTDM_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 pushbutton1.function pushbutton1_Callback(hObject, eventdata, handles)% hObject handle to pushbutton1 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)close(gcf);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -