function values = tixiGetArray(handle, arrayPath, elementName, arraySize)
    % 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(arrayPath))
        error('Invalid type of argument "arrayPath"');
    end

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

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

    try
        values = tixi3_matlab('tixiGetArray', handle, arrayPath, elementName, arraySize);
    catch err
        error(err.message)
    end
end

