代码搜索:CallBack
找到约 10,000 项符合「CallBack」的源代码
代码结果 10,000
www.eeworm.com/read/342825/11997522
txt gui笔记i.txt
1。Callback之间数据传递方式:
1)宣告为全局变量:即在每个callback函数中都设置为全局变量global;
2)存在userdata中。例如:set(ui_handle,'userdata',value)%value数据存储在句柄值为ui_handle的对象内。
value1 = get(ui_handle,'userdata');%在任意一个ca
www.eeworm.com/read/342825/11997552
txt gui笔记ii.txt
GUI常用函数:
(1) 利用结构和细胞数组指定一个群组的属性对于一次设置多个对象的属性非常有效,因为该数组可以在任何对象中调用。下例定义了一个名为active的结构数组,设置特定figure窗口下的unicontrol对象的Backgroundcolor、enable和Foregroundcolor等属性。
例:active.backgroundcolor=[1 0 0
www.eeworm.com/read/151751/12177390
m 3-3.m
h=figure;
f = uimenu(h,'Label','MATLAB工作间');
uimenu(f,'Label','新窗口','Callback','figure');
uimenu(f,'Label','保存','Callback','save');
h1=uimenu(f,'Label','清除');
uimenu(h1,'Label','清楚变量','callback',
www.eeworm.com/read/150238/12303438
m colea.m
function colea(infile,Srate1)
% COLEA
% A software tool for speech analysis
%
% To run this program, just type 'colea' in the MATLAB window. This
% will open a file dialog box from which you c
www.eeworm.com/read/148879/12417818
m 3-3.m
h=figure;
f = uimenu(h,'Label','MATLAB工作间');
uimenu(f,'Label','新窗口','Callback','figure');
uimenu(f,'Label','保存','Callback','save');
h1=uimenu(f,'Label','清除');
uimenu(h1,'Label','清楚变量','callback',
www.eeworm.com/read/127242/14366650
m 3-3.m
h=figure;
f = uimenu(h,'Label','MATLAB工作间');
uimenu(f,'Label','新窗口','Callback','figure');
uimenu(f,'Label','保存','Callback','save');
h1=uimenu(f,'Label','清除');
uimenu(h1,'Label','清楚变量','callback',
www.eeworm.com/read/126083/14446550
m guimenu.m
function guimenu(figNumber)
% GUIMENU Initializes GUI menubar.
% All the software included in this package is presented as is.
% It may be distributed freely. The author can, however, not be
%
www.eeworm.com/read/125529/14488852
m colea.m
function colea(infile,Srate1)
% COLEA
% A software tool for speech analysis
%
% To run this program, just type 'colea' in the MATLAB window. This
% will open a file dialog box from which you c
www.eeworm.com/read/119162/14838016
java eboardservant.java
package whiteboard;
import java.rmi.*;
import java.util.Vector;
import java.rmi.server.UnicastRemoteObject;
public class eboardServant extends UnicastRemoteObject implements eboard
{
private
www.eeworm.com/read/214423/15100551
h wndproc.h
// CallBack Function Prototype and Window Initialization Prototypes
HWND WinInit(HINSTANCE hInst,int iShow);
LRESULT CALLBACK WndProc (HWND hWnd,UINT iMsg,WPARAM wParam,LPARAM lParam);