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: scenarioSetup.m
    path of file: ./repos/MATLAB-NS3/scenarios/truckPlatooning
    
    the code of the file until where you have to start completion: classdef scenarioSetup
    % Definitions of function abstracted in scenario.m
    
    %
    % Copyright (C) Vamsi.  2017-18 All ri
    
function [rogueVehC numRogueVeh] = installRogueVehicles(config)
            % initialize counts
            lane2VehicleCount = 0;
            lane3VehicleCount = 0;
            lane4VehicleCount = 0;
            if(config.laneCount >=2) % checking if highway even has 2 lanes
                lane2VehicleCount = size(config.rogueVehPosLane2, 2);
                rogueVLane2(1:lane2VehicleCount) = 2; % Assigning lane 2
                if(config.laneCount >=3) % checking if highway even has 3 lanes
                    lane3VehicleCount = size(config.rogueVehPosLane3, 2);
                    rogueVLane3(1:lane3VehicleCount) = 3; % Assigning lane 3
                    if(config.laneCount >=4) % checking if highway even has 4 lanes
                        lane4VehicleCount = size(config.rogueVehPosLane4, 2);
                        rogueVLane4(1:lane4VehicleCount) = 4; % Assigning lane 4
                    end