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: CtrlEnv_Vehicle_plotResults.m
    path of file: ./repos/Simscape-Battery-Electric-Vehicle-Model/Components/ControllerAndEnvironment/Harness/Components/Vehicle/Utility
    
    the code of the file until where you have to start completion: function fig = CtrlEnv_Vehicle_plotResults(nvpairs)

    
function fig = CtrlEnv_Vehicle_plotResults(nvpairs)
% plots the simulation result.

% Copyright 2022-2023 The MathWorks, Inc.

arguments
  nvpairs.SimData timetable
  nvpairs.FigureHeight (1,1) {mustBePositive} = 300
end