function tixiSetCacheEnabled(handle, enabled)
    % this file was automatically generated from tixi.h on 2025-09-30

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

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

    try
        tixi3_matlab('tixiSetCacheEnabled', handle, enabled);
    catch err
        error(err.message)
    end
end

