function tixiAddIntegerElement(handle, parentPath, elementName, number, format)
    % this file was automatically generated from tixi.h on 2025-09-30

    if (ischar(handle))
        error('Invalid type of argument "handle"');
    end

    if not(ischar(parentPath))
        error('Invalid type of argument "parentPath"');
    end

    if not(ischar(elementName))
        error('Invalid type of argument "elementName"');
    end

    if (ischar(number))
        error('Invalid type of argument "number"');
    end

    if not(ischar(format))
        error('Invalid type of argument "format"');
    end

    try
        tixi3_matlab('tixiAddIntegerElement', handle, parentPath, elementName, number, format);
    catch err
        error(err.message)
    end
end

