该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

function varargout = untitled1(varargin)

% UNTITLED1 MATLAB code for untitled1.fig

% UNTITLED1, by itself, creates a new UNTITLED1 or raises the existing

% singleton*.

%

% H = UNTITLED1 returns the handle to a new UNTITLED1 or the handle to

% the existing singleton*.

%

% UNTITLED1('CALLBACK',hObject,eventData,handles,...) calls the local

% function named CALLBACK in UNTITLED1.M with the given input arguments.

%

% UNTITLED1('Property','Value',...) creates a new UNTITLED1 or raises the

% existing singleton*. Starting from the left, property value pairs are

% applied to the GUI before untitled1_OpeningFcn gets called. An

% unrecognized property name or invalid value makes property application

% stop. All inputs are passed to untitled1_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 untitled1

% Last Modified by GUIDE v2.5 18-Mar-2017 09:18:54

% Begin initialization code - DO NOT EDIT

gui_Singleton = 1;

gui_State = struct('gui_Name', mfilename, ...

'gui_Singleton', gui_Singleton, ...

'gui_OpeningFcn', @untitled1_OpeningFcn, ...

'gui_OutputFcn', @untitled1_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 untitled1 is made visible.

function untitled1_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 untitled1 (see VARARGIN)

% Choose default command line output for untitled1

handles.output = hObject;

% Update handles structure

guidata(hObject, handles);

% UIWAIT makes untitled1 wait for user response (see UIRESUME)

% uiwait(handles.figure1);

% --- Outputs from this function are returned to the command line.

function varargout = untitled1_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 edit1 (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

input = str2num(get(hObject,'String'))

if(isempty(input))

set(hObject,'String','0')

end

guidata(hObject,handles);

% Hints: get(hObject,'String') returns contents of edit1 as text

% str2double(get(hObject,'String')) returns contents of edit1 as a double

% --- Executes during object creation, after setting all properties.

function edit1_CreateFcn(hObject, eventdata, handles)

% hObject handle to edit1 (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)

input = str2num(get(hObject,'String'))

if(isempty(input))

set(hObject,'String','0')

end

guidata(hObject,handles);

% Hints: get(hObject,'String') returns contents of edit2 as text

% str2double(get(hObject,'String')) returns contents of edit2 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.

if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))

set(hObject,'BackgroundColor','white');

end

function edit3_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)

input = str2num(get(hObject,'String'))

if(isempty(input))

set(hObject,'String','0')

end

guidata(hObject,handles);

% 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 edit3_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 edit4_Callback(hObject, eventdata, handles)

% hObject handle to edit4 (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

input = str2num(get(hObject,'String'))

if(isempty(input))

set(hObject,'String','0')

end

guidata(hObject,handles);

% Hints: get(hObject,'String') returns contents of edit4 as text

% str2double(get(hObject,'String')) returns contents of edit4 as a double

% --- Executes during object creation, after setting all properties.

function edit4_CreateFcn(hObject, eventdata, handles)

% hObject handle to edit4 (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

MATLAB显示错误使用untitled,新手,用gui界面画李萨如图,出错,求解答相关推荐

  1. matlab gui界面画三角形,新手,用gui界面画李萨如图,出错,求解答

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 function varargout = untitled1(varargin) % UNTITLED1 MATLAB code for untitled ...

  2. MATLAB显示错误使用untitled,使用Matlab 2016a阻止集合构建错误

    matlab R2016a.OS:我所生成的Windows 10All是Master Block,除了用于测试用例之外,没有其他任何东西,我得到以下错误:请帮助我完成这项工作,因为我确实需要完成一些工 ...

  3. Matlab绘制李萨如图(啊啊啊啊啊,好激动,这是我的第一条博客)

    查阅百度得知,李萨如图是由在互相垂直的方向上的两个频率成简单整数比的简谐振动所合成的规则的.稳定的闭合曲线. 首先是matlab  Guide图的绘制,这是我画的GUI图, 上面四个可编辑文本框分别是 ...

  4. matlab怎么绘制李萨如图形_基于MATLAB图形界面研究李萨如图形及其讨论

    龙源期刊网 http://www.qikan.com.cn 基于 MATLAB 图形界面研究李萨如图形及 其讨论 作者:刘斯禹 韩雪 郭天超 来源:<科技资讯> 2016 年第 06 期 ...

  5. Matlab 李萨如图模拟_动态模拟李萨如图形形成过程保存为.GIF动图

       九层妖塔 起于垒土 Matlab 李萨如图模拟_动态模拟李萨如图形形成过程保存为.GIF动图 一.数学分析 二.程序设计及使用说明 三.动图 四.代码 一.数学分析 二.程序设计及使用说明 三. ...

  6. MATLAB从0开始搭建简单的GUI界面

    目录 介绍 文件创建 UI界面设计 添加代码 初始化 按键回调函数 运行 介绍 创建简单的UI界面,并包含"普通按钮"."弹出式菜单"以及"可编辑文本 ...

  7. 基于深度学习的车辆检测系统(MATLAB代码,含GUI界面)

    摘要:当前深度学习在目标检测领域的影响日益显著,本文主要基于深度学习的目标检测算法实现车辆检测,为大家介绍如何利用MATLAB\color{#4285f4}{M}\color{#ea4335}{A}\ ...

  8. matlab输出李萨育图形,李萨如图形的详解与应用

    马上注册,结交更多好友,享用更多功能,让你轻松玩转社区. 您需要 登录 才可以下载或查看,没有帐号?注册 x 本帖最后由 Freeman_2016 于 2019-9-11 11:18 编辑 李萨如图形 ...

  9. matlab 李萨如_基于MATLAB的李萨如图形研究

    内容简介: 基于MATLAB的李萨如图形研究,毕业论文,说明书共20页,5144字,附开题报告.任务书.源程序等. 摘要 质点在相互垂直的分振动频率比成有理数的情况下,合成振动轨迹为稳定的曲线,曲线的 ...

最新文章

  1. 《Java编程思想》学习笔记4——集合容器
  2. hdu 5396 Expression
  3. mybatis-plus代码生成器使用和代码
  4. Vue项目使用百度地图——经纬度地图组件的封装及使用
  5. g++编译时:No such file or directory
  6. 【C语言进阶深度学习记录】九 C语言中const的详细分析
  7. 数据报拥塞控制协议:DCCP(Datagram Congestion Control Protocol)
  8. python acme_Python Hashlib模块 · Seacme Huang
  9. IT人士十大不良饮食习惯及改进建议
  10. Conda虚拟环境更新pip方法
  11. ubuntu php开发工具
  12. 如何用亿图软件绘制甘特图
  13. 实验四+049+尤帆贤
  14. Java实现爬取哔哩哔哩视频信息程序
  15. 纯代码告诉你:我的原弈非常(Yanj Future)是怎么下棋的
  16. ionic ActionSheet(上拉菜单)
  17. MTK 虚拟 sensor bring up (pick up) sensor1.0
  18. 64匹马,8赛道,找出跑得最快的4匹马,至少比赛9场
  19. 用链脉名片做图片营销,4大图片营销方式解析
  20. HTML怎么像是下划线、穿越文字的横线以及上划线

热门文章

  1. C++11 explicit关键字的作用
  2. 英语口语-文章朗读Week9 Wednesday
  3. Android SharedPreferences总结及优化
  4. 学开车不能急于求成,心急上路
  5. 三种钱非常奥妙 花越多就赚越多
  6. 给定a和n,计算a+aa+aaa+a...a(n个a)的和(大数据处理)
  7. 诺基亚是“不跟随”还是跟不上?
  8. 技术人员如何"正确"的浪费时间?
  9. Spring 定时任务的几种实现
  10. 搭建SSM框架之Spring