function init(this, cli) 
%

%   Copyright 2005-2012 The MathWorks, Inc.
%     


if this.edalinksinstalled
    
    if ~cli.GenerateCoSimModel
        this.CosimModel = false;
    else
        this.CosimModel = true;
        if strcmpi(cli.GenerateCosimModel, 'modelsim')
            this.CosimModelType  = 'Mentor Graphics ModelSim';
        elseif strcmpi(cli.GenerateCosimModel, 'incisive')
            this.CosimModelType  = 'Cadence Incisive';
        elseif strcmpi(cli.GenerateCosimModel, 'vivado simulator')
            this.CosimModelType = 'Xilinx Vivado Simulator';
        else
            this.CosimModel = false;
        end
    end
end


% [EOF]

