fildis.asv
上传用户:jspk663
上传日期:2013-08-19
资源大小:232k
文件大小:3k
- function fildis()
- FI=figure('Menubar','none','numbertitle','off','name','Kalman Filter','deletefcn','figdel_callback'); %生成figue
- BI=uicontrol(FI,'Style','Push','Unit','normalized','Position',[0.81,.73,.11,.06],'String','Initialize...',... %生 控
- 'callback','input_callback');
- BII=uicontrol(FI,'Style','Push','Unit','normalized','Position',[0.81,.63,.11,0.06],'String','Start',...
- 'callback','start_callback','userdata',0,'tag','start');
- BIII=uicontrol(FI,'Style','Push','Unit','normalized','Position',[0.81,.53,.11,.06],'String','Stop?',...
- 'tag','stop','userdata',1,'callback','stop_callback');
- BIV=uicontrol(FI,'Style','Push','Unit','normalized','Position',[0.81,.43,.11,0.06],'String','Axis Limit...',...
- 'callback','axislimit_callback');
- BV=uicontrol(FI,'Style','Push','Unit','normalized','Position',[0.81,.33,.11,0.06],'String','Legends',...
- 'callback','legend_callback');
- BVI=uicontrol(FI,'Style','Push','Unit','normalized','Position',[0.81,.23,.11,0.06],'String','Clear',...
- 'callback','clear_callback');
- M=uimenu(FI,'label','&File');
- uimenu(M,'label','&Quit','accelerator','q','callback','delete(gcf)');
- MIII=uimenu(FI,'label','&Initialization');
- %uimenu(MIII,'label','&From ASCII File...','callback','fromfile_callback'); % not used in stand-alone exe file %
- uimenu(MIII,'label','From &Mat File...','callback','frommatfile_callback');
- uimenu(MIII,'label','Input &Now...','callback','input_callback');
- uimenu(MIII,'label','&Generate Mesurements','accelerator','m','separator','on','callback','generatezk');
- uimenu(MIII,'label','Simulation &Time...','callback','time_callback','userdata',[0 1000],...
- 'tag','time','separator','on');
- MVI=uimenu(FI,'label','&Debug');
- uimenu(MVI,'label','&Start','accelerator','s','tag','m_start','callback','start_callback');
- uimenu(MVI,'label','Sto&p/Continue','accelerator','p','callback','stop_callback');
- uimenu(MVI,'label','Clea&r','accelerator','r','callback','clear_callback');
- MIV=uimenu(FI,'label','&Output');
- uimenu(MIV,'label','1σ &Error','checked','on','tag','p','callback','p_callback','userdata',1);
- uimenu(MIV,'label','&State Estimation','tag','state','callback','x_callback','userdata',0);
- uimenu(MIV,'label','&Verify Components...','tag','compo1','separator','on','callback','verify1_callback');
- MI=uimenu(FI,'label','Zoo&m');
- uimenu(MI,'label','Zoom &On','accelerator','o','callback','zoom');
- uimenu(MI,'label','Zoom &X','accelerator','x','callback','zoom xon');
- uimenu(MI,'label','Zoom &Y','accelerator','y','callback','zoom yon');
- uimenu(MI,'label','Zoom O&ff','accelerator','f','callback','zoom off');
- MV=uimenu(FI,'label','&Axis');
- uimenu(MV,'label','&Grid','tag','grid','accelerator','g',...
- 'callback','grid_callback ','userdata',0);
- uimenu(MV,'label','Axis &Limit...','tag','axis','callback','axislimit_callback','userdata',[0 1000 -0.5 1]);
- uimenu(MV,'label','Bac&kground Color...','tag','color','accelerator','k',...
- 'callback','bkcolor_callback','userdata',[0.3 0.3 0.3]);
- uimenu(MV,'label','Leg&ends','tag','legendh','separator','on','accelerator','l','callback',...
- 'legend_callback','userdata',0);
- MII=uimenu(FI,'label','&Help');
- uimenu(MII,'label','&Model && Initialization','callback','help1_callback');
- uimenu(MII,'label','&Generating Mesurements','callback','help2_callback');
- setaxis;