Close one or all open files
badpoem.txt file, read the first line, and then close the file.
fopen to open the file. This function assigns a unique file id to use for reading and writing to the file.
fid = fopen('badpoem.txt')
fid = 3
Read the first line from the file using
ans = 'Oranges and lemons,'
Close the file.