MATLAB显示错误使用untitled,新手,用gui界面画李萨如图,出错,求解答
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
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界面画李萨如图,出错,求解答相关推荐
- matlab gui界面画三角形,新手,用gui界面画李萨如图,出错,求解答
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 function varargout = untitled1(varargin) % UNTITLED1 MATLAB code for untitled ...
- MATLAB显示错误使用untitled,使用Matlab 2016a阻止集合构建错误
matlab R2016a.OS:我所生成的Windows 10All是Master Block,除了用于测试用例之外,没有其他任何东西,我得到以下错误:请帮助我完成这项工作,因为我确实需要完成一些工 ...
- Matlab绘制李萨如图(啊啊啊啊啊,好激动,这是我的第一条博客)
查阅百度得知,李萨如图是由在互相垂直的方向上的两个频率成简单整数比的简谐振动所合成的规则的.稳定的闭合曲线. 首先是matlab Guide图的绘制,这是我画的GUI图, 上面四个可编辑文本框分别是 ...
- matlab怎么绘制李萨如图形_基于MATLAB图形界面研究李萨如图形及其讨论
龙源期刊网 http://www.qikan.com.cn 基于 MATLAB 图形界面研究李萨如图形及 其讨论 作者:刘斯禹 韩雪 郭天超 来源:<科技资讯> 2016 年第 06 期 ...
- Matlab 李萨如图模拟_动态模拟李萨如图形形成过程保存为.GIF动图
九层妖塔 起于垒土 Matlab 李萨如图模拟_动态模拟李萨如图形形成过程保存为.GIF动图 一.数学分析 二.程序设计及使用说明 三.动图 四.代码 一.数学分析 二.程序设计及使用说明 三. ...
- MATLAB从0开始搭建简单的GUI界面
目录 介绍 文件创建 UI界面设计 添加代码 初始化 按键回调函数 运行 介绍 创建简单的UI界面,并包含"普通按钮"."弹出式菜单"以及"可编辑文本 ...
- 基于深度学习的车辆检测系统(MATLAB代码,含GUI界面)
摘要:当前深度学习在目标检测领域的影响日益显著,本文主要基于深度学习的目标检测算法实现车辆检测,为大家介绍如何利用MATLAB\color{#4285f4}{M}\color{#ea4335}{A}\ ...
- matlab输出李萨育图形,李萨如图形的详解与应用
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区. 您需要 登录 才可以下载或查看,没有帐号?注册 x 本帖最后由 Freeman_2016 于 2019-9-11 11:18 编辑 李萨如图形 ...
- matlab 李萨如_基于MATLAB的李萨如图形研究
内容简介: 基于MATLAB的李萨如图形研究,毕业论文,说明书共20页,5144字,附开题报告.任务书.源程序等. 摘要 质点在相互垂直的分振动频率比成有理数的情况下,合成振动轨迹为稳定的曲线,曲线的 ...
最新文章
- 使用JQuery Validate插件的报Cannot read property 'settings' of undefined错误的解决方法
- nodejs系列(二)REPL交互解释 事件循环
- 服务器应用服务为何卡顿?原来是内存耗尽惹的祸!
- Microsoft REST API指南
- P3694-邦邦的大合唱站队【状压dp】
- VGA光纤收发器特点及参数
- python ansible模块_ansible常用模块
- java 反射 父类的属性_用反射的方式获取父类中的所有属性和方法
- lintcode 734. 形式为a^i b^j c^k的子序列数量 题解
- BUAA_OO_第一次作业总结
- 程序入口地址的直接定制表【 (1) 清屏(2) 设置前景色 (3) 设置背景色 (4) 向上滚动一行】...
- leetcode-739:每日温度
- 游戏开发中常用的设计模式 【game design patterns】
- lp_solve 线性规划求解包的使用
- 【剑指Offer】个人学习笔记_41_数据流中的中位数
- Vue实现路径转二维码,并用手机扫码下载APP
- MATLAB神经网络43个案例分析
- Android无障碍服务开发
- 野心外漏?Windows Defender或将独霸杀毒软件市场?
- PMP知识点总结-第十一章:项目风险管理
热门文章
- codeforces 160A-C语言解题报告
- Docker CEO Ben Golub:Docker借助开源、天时走向成功
- 十二个生活习惯,增加你的心灵压力
- 4G发牌或提早 电信联通面临艰难抉择
- VUE 解决:Method “xxx“ has already been defined as a data property.
- 石牌村中的美好 ...
- lineNumber: 1; columnNumber: 1; 前言中不允许有内容
- vue-axios interceptors
- iOS有哪些数据类型/基本数据类型?
- 博客园中的源代码格式显示