亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? xietiao.m

?? 大量遺傳算法實現程序
?? M
字號:
function  varargout = xietiao( varargin )   
% this module edit the parameters .

%  February 2004
%  $Revision: 1.00 $  




if (nargin == 0) | isstruct( varargin{1} )     %  LAUNCH GUI
    
    if nargin == 1
        T_SimulationData = varargin{1} ;
    else
        T_SimulationData = [] ;
    end
    
 
    
% find if have the same figure, and close it .
OldFigure = findobj( 'type', 'figure', 'Tag', 'xietiao' ) ;
if ishandle( OldFigure )
    close( OldFigure ) ;
end

% init the variables .
FigureWidth = 500 ;
FigureHeight = 400 ;
TabSpace = 10 ;
TextHeight = 20 ;
    % generate a new figure .
    FigureHandle = figure( 'Visible', 'off' ) ;
    set( FigureHandle, 'Units' , 'pixels', 'Position', [150 150 500 300], ...
        'Name', '協調性約束', ...
        'Tag', 'xietiao', ...
        'FileName' , '' ,...
        'MenuBar' , 'none' ,...
        'NumberTitle' , 'off' ,...
        'Resize', 'off', ...
        'windowstyle', 'normal', ...
        'Visible', 'off' ) ;
    
    % generate the menu .
    generate_MenuContent( FigureHandle ) ;
    
    % generate the uicontrols .
    generate_FigureContent( FigureHandle ) ;
 
    % save the T_SimulationData .
    setappdata( FigureHandle, 'T_SimulationData', T_SimulationData ) ;
    
    
    % display the figure .
    movegui( FigureHandle, 'center' ) ;

%     set( findobj( FigureHandle, 'Type', 'uicontrol' ), 'Units', 'normalized' ) ;
    set( FigureHandle, 'Visible', 'on' ) ;

    % init the data .
    init_FigureContent( FigureHandle ) ;
    
    
    if nargout > 0
        varargout{1} = FigureHandle;
    end
    
elseif ischar(varargin{1}) % INVOKE NAMED SUBFUNCTION OR CALLBACK
    
    global  SET_DEBUG_VALUE_IN_SIMULATOR ;
    if isempty( SET_DEBUG_VALUE_IN_SIMULATOR ) | ~isnumeric( SET_DEBUG_VALUE_IN_SIMULATOR )
        SET_DEBUG_VALUE_IN_SIMULATOR = 0 ;
    else
    end
    
    if  SET_DEBUG_VALUE_IN_SIMULATOR == 1 ; 
        
        if (nargout)
            [varargout{1:nargout}] = feval(varargin{:}); % FEVAL switchyard
        else
            feval(varargin{:}); % FEVAL switchyard
        end             
        
    else        
        
        try
            if (nargout)
                [varargout{1:nargout}] = feval(varargin{:}); % FEVAL switchyard
            else
                feval(varargin{:}); % FEVAL switchyard
            end
        catch            
            disp(lasterr);
        end
        
    end

    
end


% ------------------------------------------------------------
function  generate_MenuContent( FigureHandle ) ;


% generate the file menu .
% ------------------------------------------------------------
MenuHandle = uimenu( 'Parent', FigureHandle, 'Label', '文件(&F)' ) ;

% define the parameters of the menus .
MenuLabel = { '打開(&O)'; '退出(&E)' } ;

% add Polygon at 2003.10.13 .
MenuTag = { 'MenuOpenResult'; 'MenuClose' } ;
MenuCallback = { ['T_Youhua( ''MenuOpenHistory_Callback'', gcbf)']; ...
 ['close all;'] } ;
SeparatorGroup = { 'off'; 'on' } ;

% generate the uimenus of file .
for num = 1: length( MenuTag )
% for num = 3
    UimenuHandle(num) = uimenu( MenuHandle ) ;
    set( UimenuHandle(num), 'Tag' , MenuTag{num} , ...
        'Callback' , MenuCallback{num} , ...
        'Label' , MenuLabel{num} , ...
        'Separator', SeparatorGroup{num} ) ;
end

% generate the parameter menu .
% ------------------------------------------------------------
MenuHandle = uimenu( FigureHandle, 'Label', '參數(&P)' ) ;

% define the parameters of the menus .
MenuLabel = { '導入(&L)'; '保存(&E)' } ;

% add Polygon at 2003.10.13 .
MenuTag = { 'MenuLoadData'; 'MenuSaveData' } ;
MenuCallback = { ...
    ['xietiao( ''LoadData_Callback'', gcbo)']; ...
    ['xietiao( ''SaveData_Callback'', gcbo)']; } ;
SeparatorGroup = { 'off'; 'on' } ;

% generate the uimenus of file .
for num = 1: length( MenuTag )
    UimenuHandle(num) = uimenu( MenuHandle ) ;
    set( UimenuHandle(num), 'Tag' , MenuTag{num} , ...
        'Callback' , MenuCallback{num} , ...
        'Label' , MenuLabel{num} , ...
        'Separator', SeparatorGroup{num} ) ;
end



% generate the parameter menu .
% ------------------------------------------------------------
MenuHandle = uimenu( FigureHandle, 'Label', '幫助(&H)', 'Enable', 'on' ) ;

% define the parameters of the menus .
MenuLabel = { '幫助(&P)'; '演示(&D)'; '關于(&A)';'時鐘(&S)' } ;

% add Polygon at 2003.10.13 .
MenuTag = { 'MenuHelp'; 'MenuDemo'; 'MenuAbout';'shijian' } ;
MenuCallback = { ...
    ['T_Youhua( ''MenuHelp_Callback'', gcbo)']; ...
    ['T_Youhua( ''MenuDemo_Callback'', gcbo)']; ...
    ['T_Youhua( ''MenuAbout_Callback'', gcbo)'];...
    ['T_Youhua( ''shizhong'', gcbo)']} ;
SeparatorGroup = { 'off'; 'on'; 'on'; 'on' } ;

% generate the uimenus of file .
for num = 1: length( MenuTag )
    UimenuHandle(num) = uimenu( MenuHandle ) ;
    set( UimenuHandle(num), 'Tag' , MenuTag{num} , ...
        'Callback' , MenuCallback{num} , ...
        'Label' , MenuLabel{num} , ...
        'Separator', SeparatorGroup{num} ) ;
end





% ------------------------------------------------------------
function  generate_FigureContent( FigureHandle )
% generate the uicontrols .


% init the variables .
FigureWidth = 500 ;
FigureHeight = 400 ;
TabSpace = 10 ;
TextHeight = 22 ;
ChangeYPos = 30 ;


% reset the figure's size .
set( FigureHandle, 'Units', 'pixels', ...
    'Position', [150 150  FigureWidth  FigureHeight], ...
    'DoubleBuffer', 'on' ) ;

% generate the axes to plot lines .
AxesHandle = axes( 'Parent', FigureHandle, 'Units' , 'normalized' ,  ...
    'Position', [0 0 1 1], 'Visible', 'off', ...
    'Xlim', [0  FigureWidth], 'Ylim', [0  FigureHeight] ) ;

% get the color of the figure .
FigureColor = get( FigureHandle, 'Color' ) ;
% reset the default value of the uicontrols .
set(FigureHandle,'defaultuicontrolunits','normalized');
set(FigureHandle,'defaultuicontrolfontname','隸書');
set(FigureHandle,'defaultuicontrolBackgroundColor', FigureColor );
% define the first frame .
FrameXPos = TabSpace * 2 ;
FrameWidth = FigureWidth - TabSpace * 4  ;
FrameHeight = FigureHeight - TabSpace * 8 ;
FrameYPos = FigureHeight - FrameHeight - TabSpace * 2 ;
Frame1Position = [FrameXPos  FrameYPos  FrameWidth  FrameHeight] ;
% generate a frame .
TitleHandle = uicontrol(FigureHandle,'style','frame', 'Units','pixels',...
    'position',Frame1Position  );


TextXPos = Frame1Position(1) + TabSpace  ;
TextYPos = Frame1Position(2) + TabSpace ;
TextWidth = Frame1Position(3) - TabSpace * 2 ;
TextHeight = Frame1Position(4) - TabSpace * 2 ;
TextPosition = [TextXPos  TextYPos  TextWidth  TextHeight] ;
% subtitle:
TextHandle = uicontrol(FigureHandle, 'Style','text', 'Units','pixels',...
    'position',TextPosition, 'Horizontal','left',...
    'string', {['  輸入C點與車廂底板最小距離  d ']}, 'fontsize',12 );
edit1 = uicontrol(FigureHandle, 'Style', 'edit', 'Units','pixels',...
        'position', [50 300 100 30], 'Horizontal','left', 'BackgroundColor', [1 1 1], ...
        'Tag','edit1' , ...
        'String', 0, 'FontSize',13, ...
        'Callback', ['xietiao(''edit1_Callback'',gcbo)'] ) ;
TextXPos = Frame1Position(1) + TabSpace  ;
TextYPos = Frame1Position(2) + TabSpace -100;
TextWidth = Frame1Position(3) - TabSpace * 2 ;
TextHeight = Frame1Position(4) - TabSpace * 2 ;
TextPosition = [TextXPos  TextYPos  TextWidth  TextHeight] ;
% subtitle:

 TextHandle = uicontrol(FigureHandle, 'Style','text', 'Units','pixels',...
    'position',[50 80 400 30], 'Horizontal','left',...
    'string', {['最小距離: d']}, 'fontsize',13 );
    

ButtonWidth = 80 ;
ButtonHeight = 25 ;
ButtonXPos = FigureWidth - ButtonWidth - TabSpace * 3 ;
ButtonYPos = TabSpace * 2 ;;
ButtonPosition = [ButtonXPos  ButtonYPos  ButtonWidth  ButtonHeight] ;
% generate the pushbutton: Close .
ButtonHandle = uicontrol( 'Parent', FigureHandle, 'Units', 'Pixels', 'Position', ButtonPosition, ...
    'Style', 'pushbutton', 'string', '關閉', 'Fontsize',12, 'Callback', ['xietiao(''close_Callback'',gcbo)'] ) ;


handles = guihandles( FigureHandle ) ;
guidata( FigureHandle, handles ) ;




% --------------------------------------------------------------------------
function  init_FigureContent( h )
       
handles = guidata( h ) ;

T_SimulationData = getappdata( handles.xietiao, 'T_SimulationData' ) ;

% open the next figure .

if isempty( T_SimulationData )
    T_SimulationData = T_Youhua( 'Get_DefaultT_SimulationData' ) ;    
    % save the data .
   
end

set(handles.edit1,'string',T_SimulationData.d);


% --------------------------------------------------------------------------






% --------------------------------------------------------------------------
function  edit1_Callback( h )
       
handles = guidata( h ) ;
% get the T_SimulationData .
T_SimulationData = getappdata( handles.xietiao, 'T_SimulationData' ) ;
d = str2double(get(handles.edit1, 'String'));
if isnan(d)
    set(handles.edit1, 'String', 0);
    errordlg('Input must be a number','Error');
end
T_SimulationData.d=d;
setappdata( handles.xietiao, 'T_SimulationData', T_SimulationData ) ;
% -------------------------------------------------------------------------
% -



%---------------------------------------------------------------

function  LoadData_Callback( h )
       
handles = guidata( h ) ;


PromptString = '選擇數據文件.' ;
WarningString1 = '文件格式出錯。 ' ;
WarningString2 = '選擇的文件不是正確的數據文件。 ' ;


[ FileName , PathName ] = uigetfile( {'*.mat','數據文件(*.mat)'}, PromptString ) ;


if FileName == 0
    return ;    
else
    
    [TempPathName, FileName, FileTypeName, Version] = fileparts( FileName ) ;

    if ~strcmp( FileTypeName, '.mat' ) ;
        warndlg( WarningString1, '警告', 'modal' ) ;
        return ;
    end
    SaveFile = fullfile( PathName, [FileName, FileTypeName, Version] ) ;
end

T_SimulationData = [] ;
try
    load( SaveFile, 'T_SimulationData' ) ;
catch
end

if isempty( T_SimulationData ) | ~isstruct( T_SimulationData );
 
    
    warndlg( WarningString1, '警告', 'modal' ) ;
    return ;
end


% save the data .
setappdata( handles.xietiao, 'T_SimulationData', T_SimulationData ) ;

% display the new data .
init_FigureContent( h ) ;




% --------------------------------------------------------------------------
function  SaveData_Callback( h )
       
handles = guidata( h ) ;

% get the T_SimulationData .
T_SimulationData = getappdata( handles.xietiao, 'T_SimulationData' ) ;


PromptString = '保存數據文件.' ;
MessageString = '保存數據文件成功。 ' ;

[ FileName , PathName ] = uiputfile( {'*.mat','數據文件(*.mat)'}, PromptString ) ;


if FileName == 0
    return ;    
else
    
    [TempPathName, FileName, FileTypeName, Version] = fileparts( FileName ) ;

    if ~strcmp( FileTypeName, '.mat' ) ;
        FileTypeName = '.mat' ;
    else
    end
    SaveFile = fullfile( PathName, [FileName, FileTypeName, Version] ) ;
end

% save the result  file .
save( SaveFile, 'T_SimulationData' ) ;


msgbox( MessageString ) ;




% --------------------------------------------------------------------------

function  close_Callback( h )
       
handles = guidata( h ) ;




% get the T_SimulationData .
T_SimulationData = getappdata( handles.xietiao, 'T_SimulationData' ) ;

% open the next figure .

if isempty( T_SimulationData )
    T_SimulationData = T_Youhua( 'Get_DefaultT_SimulationData' ) ;    
    % save the data .
   
end


Youhua( T_SimulationData ) ;

% close the current figure .
pause(0) ;
close( handles.xietiao ) ;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产午夜亚洲精品理论片色戒| 亚洲欧洲99久久| caoporn国产一区二区| 麻豆一区二区三区| 蜜臀久久99精品久久久画质超高清 | 亚洲精品国产a| 综合自拍亚洲综合图不卡区| 中文字幕色av一区二区三区| 最新热久久免费视频| 亚洲视频在线一区观看| 国产精品大尺度| 一区二区三区四区在线播放| 亚洲黄网站在线观看| 性做久久久久久免费观看欧美| 日本一道高清亚洲日美韩| 久久精品国产亚洲高清剧情介绍| 久久不见久久见免费视频7| 精品一区二区三区免费观看| 国产精品99久久久久久似苏梦涵 | 精品欧美一区二区久久 | 成人黄色片在线观看| 国产成人综合亚洲网站| 白白色 亚洲乱淫| 在线不卡免费av| 奇米888四色在线精品| 日韩精品一区二区三区老鸭窝| 亚洲午夜久久久久久久久电影院| 日韩无一区二区| 成人三级伦理片| 亚洲一区在线电影| 久久综合狠狠综合久久综合88 | 欧美一区二区视频在线观看 | 国产99久久久久| 一区二区三区在线视频免费| 欧美成人欧美edvon| 一本一本大道香蕉久在线精品 | 欧美一区二区在线看| 国产一区二区精品在线观看| 亚洲日本一区二区| 精品日韩欧美在线| 欧美日韩成人高清| 国产黄色91视频| 亚洲h在线观看| 中文字幕一区二区三区不卡在线| 欧美日韩高清一区二区不卡 | 视频在线观看91| 国产精品素人视频| 欧美电影免费观看高清完整版在 | 亚洲一区二区三区四区在线免费观看| 欧美午夜精品理论片a级按摩| 依依成人精品视频| 精品国产百合女同互慰| 欧美一区二区在线播放| 精品伊人久久久久7777人| 精品第一国产综合精品aⅴ| 一本一道久久a久久精品综合蜜臀| 久99久精品视频免费观看| 亚洲成人av在线电影| 综合电影一区二区三区| 国产亚洲福利社区一区| 欧美一区二区三区免费观看视频| 欧美中文字幕不卡| www.66久久| 春色校园综合激情亚洲| 国产一区二区三区久久久 | 久久久影视传媒| 日日摸夜夜添夜夜添精品视频| 韩国毛片一区二区三区| 欧美精品在线观看播放| 夜夜嗨av一区二区三区网页| 91在线免费看| 国产精品久久久久影院色老大| 国产精品一区一区| 欧美日韩国产精品成人| 精品国产欧美一区二区| 国产麻豆一精品一av一免费| 欧美一区二区视频网站| 婷婷久久综合九色综合伊人色| 91在线国产观看| 国产精品久久久久久久久免费相片| 国产一区二区福利| 精品成人在线观看| 精品一区二区三区的国产在线播放| 欧美一区二区三区免费大片 | 中文字幕在线不卡一区| 国产高清在线精品| 国产性做久久久久久| 丁香啪啪综合成人亚洲小说| 欧美国产一区二区在线观看| 成人av电影免费观看| 亚洲日本在线天堂| 欧美特级限制片免费在线观看| 亚洲国产一区二区三区青草影视| 欧美日韩大陆一区二区| 蜜桃精品视频在线观看| 久久久综合精品| 色系网站成人免费| 日韩av一二三| 国产亚洲人成网站| 99re在线视频这里只有精品| 亚洲综合清纯丝袜自拍| 69av一区二区三区| 国产最新精品免费| 亚洲欧美成aⅴ人在线观看| 欧美日韩国产在线播放网站| 老鸭窝一区二区久久精品| 国产欧美一区二区在线| 色欧美片视频在线观看| 日本aⅴ精品一区二区三区 | 亚洲欧美成人一区二区三区| 欧美久久久久久蜜桃| 国产风韵犹存在线视精品| 亚洲欧美另类小说| 91国偷自产一区二区三区成为亚洲经典 | 黄色小说综合网站| 99麻豆久久久国产精品免费优播| 欧美亚洲一区二区在线观看| 欧美va天堂va视频va在线| 国产精品第13页| 日韩精品电影在线| 成人av综合在线| 4hu四虎永久在线影院成人| 国产日韩精品一区二区浪潮av| 一区二区三区免费观看| 精品亚洲国内自在自线福利| 色综合天天综合在线视频| 日韩免费福利电影在线观看| 亚洲人成电影网站色mp4| 国产麻豆成人精品| 欧洲在线/亚洲| 久久久久久99久久久精品网站| 一区二区三区四区不卡视频| 久久不见久久见免费视频7| 欧美中文字幕不卡| 欧美激情自拍偷拍| 免费日韩伦理电影| 在线观看视频91| 国产亚洲精品bt天堂精选| 日韩电影在线看| 色噜噜狠狠一区二区三区果冻| 久久青草国产手机看片福利盒子 | 爽好久久久欧美精品| av激情综合网| 久久综合狠狠综合久久激情| 亚洲成人免费在线观看| av一区二区三区黑人| 日韩区在线观看| 一区二区三区波多野结衣在线观看| 国产裸体歌舞团一区二区| 日韩一区二区三区视频在线| 亚洲精品日韩一| 成人黄页毛片网站| 久久九九影视网| 精品一区二区在线看| 欧美精选午夜久久久乱码6080| 亚洲欧美日韩电影| 99视频精品全部免费在线| 国产婷婷色一区二区三区| 精品一区二区三区香蕉蜜桃| 欧美一区二区三区视频免费播放| 亚洲一区二区三区四区中文字幕| 一本久久综合亚洲鲁鲁五月天| 中文欧美字幕免费| 成人av在线一区二区三区| 久久精品无码一区二区三区| 国产一区二区三区四区五区美女| 久久99精品国产91久久来源| 亚洲午夜羞羞片| 乱中年女人伦av一区二区| 国产伦精品一区二区三区免费迷| 国产凹凸在线观看一区二区| 成人不卡免费av| 欧洲在线/亚洲| 欧美成人福利视频| 国产亚洲欧美日韩俺去了| 亚洲色图20p| 午夜欧美一区二区三区在线播放| 日韩精品1区2区3区| 精品一区二区在线免费观看| 粉嫩av一区二区三区| 91久久线看在观草草青青| 欧美美女视频在线观看| 精品国产污污免费网站入口 | 精品久久久久一区| 国产欧美日韩综合精品一区二区 | 欧美午夜一区二区三区免费大片| 欧美日韩日本视频| 欧美xxxx在线观看| 国产精品久久久久久久久免费相片| 亚洲一区二区三区四区在线观看 | 99精品欧美一区二区三区综合在线| 色综合久久99| 欧美成人伊人久久综合网| 国产亚洲女人久久久久毛片| 亚洲国产视频直播| 国产精品一区二区无线| 欧洲人成人精品| 久久久99精品免费观看不卡| 亚洲一本大道在线| 国产高清不卡二三区|