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: checkmeeg.m
    path of file: ./repos/spm/@meeg/private
    
    the code of the file until where you have to start completion: function this = checkmeeg(this)
% Check the internal structure of meeg objects
% FORMAT this = checkmeeg(this)

    
function this = checkmeeg(this)
% Check the internal structure of meeg objects
% FORMAT this = checkmeeg(this)
% this  - the struct to check (is returned modified if necessary)
%__________________________________________________________________________

% Vladimir Litvak
% Copyright (C) 2008-2022 Wellcome Centre for Human Neuroimaging


%-Initialise data dimensions
%--------------------------------------------------------------------------
if ~isfield(this, 'Nsamples')
    this.Nsamples = 0;
end