Documentation of get_month1


Global Index (all files) (short | long) | Local Index (files in subdir) (short | long)


Function Synopsis

outcell = get_month_name1(monind);

Help text


  outcell = get_month_name1(monind);

  monind = numeric index of an individual month (Jan = 1)


Listing of function get_month1

function outcell = get_month_name1(monind);
monind = mod(monind-1, 12)+1;
months = cell(12, 1);
months(1:4) = {'January', 'February', 'March', 'April'};
months(5:8) = {'May', 'June', 'July', 'August'};
months(9:12) = {'September', 'October', 'November', 'December'};

outcell = months(monind);