FYI, in version 5.1.0, FreeSurferColorLUT.txt has a space (" ") instead of an empty line at line 1189.  This causes the matlab funciton read_fscolorlut to throw an error.

An easy fix is to change this line:
    if(~isempty(tline) & tline(1) ~= '#') break; end

to this:
    if(~isempty(deblank(tline)) & tline(1) ~= '#') break; end