MATLAB: Please help write a script to display the first line of this text file using fgetl

fgetlfopenscripttext file

I am very new to matlab so please explain it assuming I don't know very much about it. Thanks in advance. Here is the first few lines of the text file, I would like "Header Lines = 15" to be displayed. It would also be great if you could show me how to pull up other specific lines in the file!
Header Lines = 15
Tilt Illusion Experiment
Subject Number = 1
Target Contrast = 0.50
Flanker Contrast = 0.50

Best Answer

fid=fopen('yourfile.txt')
line=fgetl(fid)
fclose(fid)