电子信息工程学系实验报告
成绩:
课程名称:MATLAB 语言
指导教师(签名):
实验项目名称:GUI制作简易计算器实验时间:
班级:通信姓名: 学号:
实验目的:
1. 熟悉M ATLAB的GUI设计过程
实验环境:
实验内容: 使用GUI制作简易计算器
实验过程及结果:
“file”菜单“new”的“GUI”新建一个“Blank GUI”进入设计页面
排版如下
整理好了以后则在命令框中输入如下命令
function varargout = untitled10(varargin)
% UNTITLED10 M-file for
% UNTITLED10, by itself, creates a new UNTITLED10 or raises the existing
% singleton*.
%
% H = UNTITLED10 returns the handle to a new UNTITLED10 or the handle to
% the existing singleton*.
%
% UNTITLED10('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in with the given input arguments.
%
% UNTITLED10('Property','Value',...) creates a new UNTITLED10 or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before untitled10_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to 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 untitled10
% Last Modified by GUIDE 07-Dec-2010 21:18:30
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfile
MATLAB.8 来自淘豆网m.daumloan.com转载请标明出处.