function varargout = initial_props(varargin)
% INITIAL_PROPS M-file for initial_props.fig
% INITIAL_PROPS, by itself, creates a new INITIAL_PROPS or raises the existing
% singleton*.
%
% H = INITIAL_PROPS returns the handle to a new INITIAL_PROPS or the handle to
% the existing singleton*.
%
% INITIAL_PROPS('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in INITIAL_PROPS.M with the given input arguments.
%
% INITIAL_PROPS('Property','Value',...) creates a new INITIAL_PROPS or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before initial_props_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to initial_props_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 initial_props
% Last Modified by GUIDE v2.5 17-Jan-2023 14:18:08
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @initial_props_OpeningFcn, ...
'gui_OutputFcn', @initial_props_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 initial_props is made visible.
function initial_props_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 initial_props (see VARARGIN)
% Choose default command line output for initial_props
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes initial_props wait for user response (see UIRESUME)
uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = initial_props_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 lx_Callback(hObject, eventdata, handles)
% hObject handle to lx (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of lx as text
% str2double(get(hObject,'String')) returns contents of lx as a double
% --- Executes during object creation, after setting all properties.
function lx_CreateFcn(hObject, eventdata, handles)
% hObject handle to lx (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 ly_Callback(hObject, eventdata, handles)
% hObject handle to ly (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of ly as text
% str2double(get(hObject,'String')) returns contents of ly as a double
% --- Executes during object creation, after setting all properties.
function ly_CreateFcn(hObject, eventdata, handles)
% hObject handle to ly (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 n_Callback(hObject, eventdata, handles)
% hObject handle to n (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of n as text
% str2double(get(hObject,'String')) returns contents of n as a double
% --- Executes during object creation, after setting all properties.
function n_CreateFcn(hObject, eventdata, handles)
% hObject handle to n (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 rad_Callback(hObject, eventdata, handles)
% hObject handle to rad (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of rad as text
% str2double(get(hObject,'String')) returns contents of rad as a double
% --- Executes during object creation, after setting all properties.
function rad_CreateFcn(hObject, eventdata, handles)
% hObject handle to rad (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 m_Callback(hObject, eventdata, handles)
% hObject handle to m (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of m as text
% str2double(get(hObject,'String')) returns contents of m as a double
% --- Executes during object creation, after setting all properties.
function m_CreateFcn(hObject, eventdata, handles)
% hObject handle to m (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
% --- Executes on button press in rm.
function rm_Callback(hObject, eventdata, handles)
% hObject handle to rm (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hint: get(hObject,'Value') returns toggle state of rm
% --- Executes on button press in rr.
function rr_Callback(hObject, eventdata, handles)
if get(handles.rr,'value')
set(handles.rpm,'value',false);
else
set(handles.rpm,'value',true);
end
% --- Executes on button press in rpm.
function rpm_Callback(hOb
没有合适的资源?快使用搜索试试~ 我知道了~
气动学基于matlab GUI二维气体模拟【含Matlab源码 2328期】.zip
共28个文件
m:19个
asv:5个
fig:2个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 81 浏览量
2023-01-17
23:19:34
上传
评论
收藏 106KB ZIP 举报
温馨提示
CSDN海神之光上传的全部代码均可运行,亲测可用,尽我所能,为你服务; 1、代码压缩包内容 主函数:run_me.m; 调用函数:其他m文件;无需运行 运行结果效果图; 2、代码运行版本 Matlab 2019b;若运行有误,根据提示修改;若不会,可私信博主; 3、运行操作步骤 步骤一:将所有文件放到Matlab的当前文件夹中; 步骤二:双击打开run_me.m文件; 步骤三:点击运行,等程序运行完得到结果; 4、物理应用 仿真:导航、地震、电磁、电路、电能、机械、工业控制、水位控制、直流电机、平面电磁波、管道瞬变流 光学:光栅、杨氏双缝、单缝、多缝、圆孔、矩孔衍射、夫琅禾费、干涉、拉盖尔高斯、光束、光波、涡旋 定位问题:chan、taylor、RSSI、music、卡尔曼滤波UWB 气动学:弹道、气体扩散、龙格库弹道 运动学:倒立摆、泊车 天体学:卫星轨道、姿态
资源推荐
资源详情
资源评论
收起资源包目录
【气动学】基于matlab GUI二维气体模拟【含Matlab源码 2328期】.zip (28个子文件)
【气动学】基于matlab GUI二维气体模拟【含Matlab源码 2328期】
运行结果1.jpg 49KB
files
dec.m 52B
ar.m 65B
bdf.m 883B
buf.asv 37B
rnd_v.m 82B
gas.asv 5KB
fin.m 41B
m_new.m 39B
move.asv 1KB
initial_props.m 9KB
buf.m 159B
initial_props.fig 6KB
ar.asv 50B
set_random.m 860B
plot_ball.asv 44B
nes_warn.fig 9KB
acc.m 78B
balls.m 2KB
resize.m 509B
stp.m 74B
move.m 1KB
nes_warn.m 7KB
au.m 65B
gas.m 5KB
plot_ball.m 96B
run_me.m 38B
运行结果2.jpg 54KB
共 28 条
- 1
资源评论
海神之光
- 粉丝: 3w+
- 资源: 2093
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功