I have the following code:
fonts = dir('fonts')
strcmp('BELL.TTF',fonts.name)
where dir('fonts') returns a 33x1 struct where each entry has name (string), date, and a few other things. I can't figure out what type fonts.name is (if it's a cell array or what), and my end goal is to be able to use strcmp to compare across all of the names.