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: quad_variables.m
    path of file: ./repos/Cooperative-Control/Quacopter Control/utilities
    
    the code of the file until where you have to start completion: function [UAV] = quad_variables(sim, vehicleID, initialPosition)
    %% Initialize Quadrotor Variables
    % vehicle parameters
    UAV.vehicleType = "UAV";       % vehicle type UAV/ASV 
    if nargin > 1

    
function [UAV] = quad_variables(sim, vehicleID, initialPosition)
    %% Initialize Quadrotor Variables
    % vehicle parameters
    UAV.vehicleType = "UAV";       % vehicle type UAV/ASV 
    if nargin > 1
        UAV.vehicleID = vehicleID; % vehicle ID [1,2,...,n]
    else 
        UAV.vehicleID = 1;         % standard vehicle ID
    end