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: mne_read_curvature.m
    path of file: ./repos/spm/external/mne
    
    the code of the file until where you have to start completion: function [curv] = mne_read_curvature(fname)
%
% [curf] = mne_read_surface(fname)
%
% Reads a FreeSurfer curvature file
%
% fname       - The file to read
% curv        - The curvature values
%

%
%
%   Author : Matti Hamalainen, MGH Martinos Center
%   License : BSD 3-clause
%
%
%   Revision 1.4  2006/07/31 05:12:39  msh
%   fread3 was still called instead of mne_fread3

    
function [curv] = mne_read_curvature(fname)
%
% [curf] = mne_read_surface(fname)
%
% Reads a FreeSurfer curvature file
%
% fname       - The file to read
% curv        - The curvature values
%

%
%
%   Author : Matti Hamalainen, MGH Martinos Center
%   License : BSD 3-clause
%
%
%   Revision 1.4  2006/07/31 05:12:39  msh
%   fread3 was still called instead of mne_fread3
%
%   Revision 1.3  2006/05/22 11:01:47  msh
%   Deleted superfluous text from the comments.
%
%   Revision 1.2  2006/05/22 10:55:02  msh
%   Fixed help text.
%
%   Revision 1.1  2006/05/22 10:44:44  msh
%   Added surface and curvature reading routines.
%   Fixed error in mne_read_source_spaces: triangle normals were not normalized
%

me='MNE:mne_read_curvature';

%
%   The input file is big end