1 Star 0 Fork 24

liker292/toto

forked from ShiboJiang/toto 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
toto.m 9.08 KB
一键复制 编辑 原始数据 按行查看 历史
ShiboJiang 提交于 2018-11-03 22:26 . toto工具箱更新到 V0.9.7
function varargout = toto(varargin)
% TOTO MATLAB code for toto.fig
% TOTO, by itself, creates a new TOTO or raises the existing
% singleton*.
%
% H = TOTO returns the handle to a new TOTO or the handle to
% the existing singleton*.
%
% TOTO('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in TOTO.M with the given input arguments.
%
% TOTO('Property','Value',...) creates a new TOTO or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before toto_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to toto_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 toto
% Last Modified by GUIDE v2.5 03-Nov-2018 22:07:41
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @toto_OpeningFcn, ...
'gui_OutputFcn', @toto_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 toto is made visible.
function toto_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 toto (see VARARGIN)
% Choose default command line output for toto
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes toto wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = toto_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;
% --- Executes on button press in add_sig_parameter.
function add_sig_parameter_Callback(hObject, eventdata, handles)
% hObject handle to add_sig_parameter (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
add_sig_parameter()
% --- Executes on button press in resolve_signals.
function resolve_signals_Callback(hObject, eventdata, handles)
% hObject handle to resolve_signals (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
resolve_signals()
% --- Executes on button press in propagate_signals.
function propagate_signals_Callback(hObject, eventdata, handles)
% hObject handle to propagate_signals (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
propagate_signals()
% --- Executes on button press in rename_port.
function rename_port_Callback(hObject, eventdata, handles)
% hObject handle to rename_port (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
rename_port_to_sig()
% --- Executes on button press in clear_resolve.
function clear_resolve_Callback(hObject, eventdata, handles)
% hObject handle to clear_resolve (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
clear_resolve()
% --- Executes on button press in clear_propagate.
function clear_propagate_Callback(hObject, eventdata, handles)
% hObject handle to clear_propagate (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
clear_propagate()
% --- Executes on button press in creat_p_files.
function creat_p_files_Callback(hObject, eventdata, handles)
% hObject handle to creat_p_files (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
creat_p_files()
% --------------------------------------------------------------------
function Untitled_1_Callback(hObject, eventdata, handles)
% hObject handle to Untitled_1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in ERT.
function ERT_Callback(hObject, eventdata, handles)
% hObject handle to ERT (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
ERT_configuration()
% --- Executes on button press in AUTOSAR.
function AUTOSAR_Callback(hObject, eventdata, handles)
% hObject handle to AUTOSAR (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
Autosar_configuration()
% --- Executes on button press in HideNameBlock.
function HideNameBlock_Callback(hObject, eventdata, handles)
% hObject handle to HideNameBlock (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
hide_name_blocks()
% --- Executes on button press in ShowNameBlock.
function ShowNameBlock_Callback(hObject, eventdata, handles)
% hObject handle to ShowNameBlock (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
show_name_blocks()
% --- Executes on button press in HideNamePort.
function HideNamePort_Callback(hObject, eventdata, handles)
% hObject handle to HideNamePort (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
hide_name_ports()
% --- Executes on button press in ShowNamePort.
function ShowNamePort_Callback(hObject, eventdata, handles)
% hObject handle to ShowNamePort (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
show_name_ports()
% --- Executes on button press in FixSFParType.
function FixSFParType_Callback(hObject, eventdata, handles)
% hObject handle to FixSFParType (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
fix_stateflow_parameter_type()
% --- Executes on button press in ChangePortProperty.
function ChangePortProperty_Callback(hObject, eventdata, handles)
% hObject handle to ChangePortProperty (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
change_port_property()
% --- Executes on button press in DefaultPortProperty.
function DefaultPortProperty_Callback(hObject, eventdata, handles)
% hObject handle to DefaultPortProperty (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
default_port_property()
% --- Executes on button press in sf_par_type_auto.
function sf_par_type_auto_Callback(hObject, eventdata, handles)
% hObject handle to sf_par_type_auto (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
auto_sf_par_type()
% --- Executes on button press in list_parameter.
function list_parameter_Callback(hObject, eventdata, handles)
% hObject handle to list_parameter (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
out = list_parameter()
% --- Executes on button press in change_parameter.
function change_parameter_Callback(hObject, eventdata, handles)
% hObject handle to change_parameter (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
out = change_parameter()
% --- Executes on button press in rename_line.
function rename_line_Callback(hObject, eventdata, handles)
% hObject handle to rename_line (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
out = rename_sig_to_port()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/liker_292/toto.git
git@gitee.com:liker_292/toto.git
liker_292
toto
toto
master

搜索帮助