You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: display.m
    path of file: ./repos/OPTI/Utilities/SymBuilder/@SymBuilder
    
    the code of the file until where you have to start completion: function displayBuilder(B)
%Display Builder Problem Information
%
%   Called By SYMBUILDER Class

%   Copyright (C) 2012 Jonathan Currie (Control Engineering)

disp('------------------------------------------------------');
disp('SymBuilder Object');

%Display Based on Build Status
switch(B.bldstat)
    case 'unbuilt'
        fprintf(' UNBUILT with:\n');
        fprintf(' - %2d objective(s)\n',B.noObjs);
        fprintf(' - %2d constraint(s)\n',B.noCons);
        fprintf(' - %2d bound declaration(s)\n',size(B.bnds,1));
        fprintf(' - %2d integer declaration(s)\n',size(B.vartypes,1));
        fprintf(' - %2d expression(s)\n',size(B.exprsn,1));
        fprintf(' - %2d constant(s)\n',size(B.constnt,1));       

    
function displayBuilder(B)
%Display Builder Problem Information
%
%   Called By SYMBUILDER Class

%   Copyright (C) 2012 Jonathan Currie (Control Engineering)

disp('------------------------------------------------------');
disp('SymBuilder Object');

%Display Based on Build Status
switch(B.bldstat)
    case 'unbuilt'
        fprintf(' UNBUILT with:\n');
        fprintf(' - %2d objective(s)\n',B.noObjs);
        fprintf(' - %2d constraint(s)\n',B.noCons);
        fprintf(' - %2d bound declaration(s)\n',size(B.bnds,1));
        fprintf(' - %2d integer declaration(s)\n',size(B.vartypes,1));
        fprintf(' - %2d expression(s)\n',size(B.exprsn,1));
        fprintf(' - %2d constant(s)\n',size(B.constnt,1));       
    case {'draft'}        
        fprintf(' DRAFT in %1.3fs with:\n',B.bldtime);
    case 'built'
        fprintf(' BUILT in %1.3fs with:\n',B.bldtime);
end

%If object is built, display properties
if(~strcmp(B.bldstat,'unbuilt'))
    fprintf(' - %2d variables\n',length(B.vars));
    if(B.noObjs)
        fprintf(' - %2d objective\n',B.noObjs);
        fprintf('      - %2d linear\n',sum(B.objlin == 1));
        if(~isempty(B.hess))
            fprintf('      - %2d quadratic\n',sum(B.objlin == 2));
        end
        fprintf('      - %2d nonlinear\n',sum(B.objlin == 3));
    else
        fprintf(' - No objective\n');
    end
    if(B.noCons)
        fprintf(' - %2d constraint(s)\n',B.noCons);
        fprintf('      - %2d linear\n',sum(B.conlin == 1));
        if(~isempty(B.hess))
            fprintf('      - %2d quadratic\n',sum(B.conlin == 2));
        end
        fprintf('      - %2d nonlinear\n',sum(B.conlin == 3));
    else
        fprintf(' - No constraints\n');
    end
    fprintf(' - %2d bound(s)\n',sum(~isinf(B.lb)) + sum(~isinf(B.ub)));
    int = sum(B.xtype ~= 'C');
    fprintf(' - %2d integer variable(s)\n',int);
    if(int)
        fprintf('      - %2d integer\n',sum(B.xtype == 'I'));
        fprintf('      - %2d binary\n',sum(B.xtype == 'B'));
    end