Documentation of get_month2


Global Index (short | long) | Local contents | Local Index (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)


Cross-Reference Information

This function is called by

Listing of function get_month2

function outcell = get_month_name1(monind);
monind = mod(monind-1, 12)+1;
months = cell(12, 1);
months(1:4) = {'JAN', 'FEB', 'MAR', 'APR'};
months(5:8) = {'MAY', 'JUN', 'JUL', 'AUG'};
months(9:12) = {'SEP', 'OCT', 'NOV', 'DEC'};

outcell = months(monind);