MATLAB教程系列-台大-07 exercise

这篇博客介绍了使用MATLAB进行GUI界面设计的练习,通过在GUI编辑界面打开默认函数并直接编写代码实现功能。展示了设计过程及运行结果,强调了文件命名的重要性。
摘要由CSDN通过智能技术生成

关于GUI界面的小练习:

程序:

(在GUI编辑界面->view->editor,可以打开默认给出的GUI界面的函数,直接在函数体内部自己编写内容即可)

 

function varargout = apple(varargin)
% APPLE MATLAB code for apple.fig
%      APPLE, by itself, creates a new APPLE or raises the existing
%      singleton*.
%
%      H = APPLE returns the handle to a new APPLE or the handle to
%      the existing singleton*.
%
%      APPLE('CALLBACK',hObject,eventData,handles,...) calls the local
%      function named CALLBACK in APPLE.M with the given input arguments.
%
%      APPLE('Property','Value',...) creates a new APPLE or raises the
%      existing singleton*.  Starting from the left, property value pairs are
%      applied to the GUI before apple_OpeningFcn gets called.  An
%      unrecognized
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值