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: sstextread.m
    path of file: ./repos/SuiteSparse/MATLAB_Tools/SuiteSparseCollection
    
    the code of the file until where you have to start completion: function [C, len] = sstextread (filename, as_cell)
%SSTEXTREAD read a text file as a char array or cell array of strings

    
function [C, len] = sstextread (filename, as_cell)
%SSTEXTREAD read a text file as a char array or cell array of strings
%
% [C, len] = sstextread (filename, as_cell)
%
% If the longest line is > 1024 characters and as_cell is true, then C is
% returned as a cell array of strings.  Otherwise it is returned as char array.
% If as_cell is not present it defaults to true.  The length of the longest
% line is returned in len.

% SuiteSparseCollection, Copyright (c) 2006-2019, Timothy A Davis.
% All Rights Reserved.
% SPDX-License-Identifier: GPL-2.0+

if (nargin < 2)
    as_cell = true ;
end