function s = boolToYesNoString(bool) if bool s = 'yes'; else s = 'no'; end end