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: Hdf5CompoundDataset.m
    path of file: ./repos/NASTRAN_CoFE/nastran_cofe/hdf5_output_processors
    
    the code of the file until where you have to start completion: % Abstract superclass for HDF5 datasets of type H5T_COMPOUND.
% Designed to work with MSC Nastran form
    
function objStruct = getStruct(obj)
            % Creates a MATLAB struct from the H5T_COMPOUND data.
            warning('off','MATLAB:structOnObject')
            objStruct=struct(obj);
            warning('on','MATLAB:structOnObject')
            objStruct=rmfield(objStruct,{'GROUP','DATASET','SCHEMA_VERSION','version'});
        end