• 大小: 21.49MB
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2023-08-04
  • 语言: 其他
  • 标签: advisor  2002  安装包  

资源简介

advisor 2002 安装包 包含安装方法指南

资源截图

代码片段和文件信息

function varargout = advisor(varargin)
% advisor Application M-file for advisor.fig
%    FIG = advisor launch advisor GUI.
%    advisor(‘callback_name‘ ...) invoke the named callback.
%
% ADVISOR   Advanced Vehicle Simulator

%   This function opens the first graphical user interface (GUI) into
%   the program ADVISOR.
%
%   The ADVISOR program is designed to assist in testing different
% vehicle configurations using standard and custom driving cycles or
% test procedures.  
%
% For help in running ADVISOR please use the help buttons found on
% each user interface which links to the documentation pages.  If you still
%   need help or have helpful suggestions for improvement please email:
% advisor@nrel.gov
%
% Last Modified by GUIDE v2.0 21-Mar-2002 15:12:42

if nargin == 0  % LAUNCH GUI

    global vinf
%-----------------------------------------------------------
    %if ADVISOR is running then don‘t start another one just
    %bring the current ADVISOR figure to the top
    figure_tags={‘advisor_figure‘;‘input_figure‘;‘execute_figure‘;‘results_figure‘;...
            ‘rw_results_figure‘;‘parametric_results_figure‘;‘j1711_results_figure‘;...
            ‘city_hwy_results_figure‘;‘ftp_results_figure‘};
    for i=1:size(figure_tags)
        if ~isempty(findobj(‘tag‘figure_tags{i}))
            figure(findobj(‘tag‘figure_tags{i}));
            return
        end
    end
    %-------------------------------------------------------------
    
    advisor(‘set_path‘)
    
    %--------------------------------------------------
    %clear the workspace
    evalin(‘base‘‘clear‘);
    evalin(‘base‘‘global vinf‘)
    
    %set units to ‘us‘ if not defined
    if ~exist(‘vinf.units‘)
        vinf.units=‘us‘;
    end
    
    hwait=waitbar(0‘loading startup figure‘);
    try
        waitbar(.5)
    end
    
    %add some sound if user‘s system can play sound
    try
        load list_optionlist.mat;  %loads list_optionlist and list_def
        if findstr(lower(list_def)‘truck‘)
            [advisor_soundfs]=wavread(‘truckwelcome.wav‘);
        else
            [advisor_soundfs]=wavread(‘advisor.wav‘);
        end
        sound(advisor_soundfs)
    end
    %---------------------------------------------------

    fig = openfig(mfilename‘new‘); %‘reuse‘ wasn‘t working when SOC figure was up 
    %fig = openfig(mfilename‘reuse‘);
    
% Generate a structure of handles to pass to callbacks and store it. 
handles = guihandles(fig);
guidata(fig handles);

if nargout > 0
varargout{1} = fig;
end
    
    %-------------------------------------------------------
    %adjust the figure appropriately
    [verdate]=advisor_ver(‘info‘);
    set(findobj(‘tag‘‘advisor_figure‘)‘Name‘[ver ‘ ‘ date])
    
    %set the units radio buttons appropriately
    set(findobj(‘tag‘‘metric_radiobutton‘)‘value‘strcmp(vinf.units‘metric‘))
    set(findobj(‘tag‘‘us_

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-07-27 19:33  ADVISOR2002\
     文件        3944  2002-05-01 10:14  ADVISOR2002\advisor.bmp
     文件       50872  2002-05-01 10:14  ADVISOR2002\advisor.fig
     文件       14159  2002-05-01 10:14  ADVISOR2002\advisor.m
     文件        1503  2004-11-08 00:03  ADVISOR2002\ADVISOR2002.lnk
     文件        3059  2004-11-17 16:44  ADVISOR2002\ADVISOR2002patchforR13.m
     文件      175616  2012-07-27 19:33  ADVISOR2002\advisor2002安装方法.doc
     目录           0  2012-07-27 19:24  ADVISOR2002\data\
     目录           0  2012-07-27 19:24  ADVISOR2002\data\accessory\
     文件        1990  2002-05-01 10:14  ADVISOR2002\data\accessory\ACC_AnnexVII_serHyb.m
     文件        1683  2002-05-01 10:14  ADVISOR2002\data\accessory\ACC_CONV.m
     文件        2491  2002-05-01 10:14  ADVISOR2002\data\accessory\ACC_CONV_BUS.m
     文件        1563  2002-05-01 10:14  ADVISOR2002\data\accessory\ACC_CONV_DV_Saber.m
     文件        1567  2002-05-01 10:14  ADVISOR2002\data\accessory\ACC_CONV_SV_Saber.m
     文件        1653  2002-05-01 10:14  ADVISOR2002\data\accessory\ACC_EV_Focus.m
     文件        2177  2002-05-01 10:14  ADVISOR2002\data\accessory\ACC_HEAVY.m
     文件        1658  2002-05-01 10:14  ADVISOR2002\data\accessory\ACC_HYBRID.m
     文件        1726  2002-05-01 10:14  ADVISOR2002\data\accessory\ACC_INSIGHT.m
     文件        3019  2002-05-01 10:14  ADVISOR2002\data\accessory\ACC_no_load.m
     文件        1797  2002-05-01 10:14  ADVISOR2002\data\accessory\ACC_PRIUS_JPN.m
     文件        4021  2002-05-01 10:14  ADVISOR2002\data\accessory\ACC_SAEJ1343_line.m
     文件        4009  2002-05-01 10:14  ADVISOR2002\data\accessory\ACC_SAEJ1343_local.m
     文件        4030  2002-05-01 10:14  ADVISOR2002\data\accessory\ACC_SAEJ1343_short.m
     文件        2465  2002-05-01 10:14  ADVISOR2002\data\accessory\ACC_SER_HYBRID_BUS.m
     文件        3541  2002-05-01 10:14  ADVISOR2002\data\accessory\ACC_Sinda_default.m
     文件        1742  2002-05-01 10:14  ADVISOR2002\data\accessory\ACC_SUV.m
     文件       23696  2002-05-01 10:14  ADVISOR2002\data\accessory\City_summer_day_aux.mat
     文件       23704  2002-05-01 10:14  ADVISOR2002\data\accessory\Country_summer_night_aux.mat
     文件       23504  2002-05-01 10:14  ADVISOR2002\data\accessory\Default_aux.mat
     目录           0  2012-07-27 19:24  ADVISOR2002\data\accessory\etc\
     文件        1290  2002-05-01 10:14  ADVISOR2002\data\accessory\etc\c8truck_abc.m
............此处省略2310个文件信息

评论

共有 条评论