The problems of "dat2str"

Topics: IRIS in General
Jun 3, 2014 at 11:42 AM
When running the following code in command window:
 dat2str(d,'dateFormat','FP YYYY','freqLetters','ASKDN')
I get the error message pasted below:
 Error using command prompt.
 IRIS Toolbox Error @ options.
 *** Value assigned to option 'freqLetters=' does not pass validation
 '@(x)(ischar(x)&&numel(x)==numel(unique(x))&&numel(x)==6)||isequal(x,@config)'. 
I guess that "numel(x)==6" should be changed to "numel(x)==5". Thank you for your help.
Coordinator
Jun 3, 2014 at 12:10 PM
Hi

Some while ago, weekly frequency was introduced in IRIS, so indeed you need 6 frequency letters, in this order: Yearly, Half-Yearly, Quarterly, Bi-Monthly, Monthly, Weekly.

Best,
Jaromir
Marked as answer by jaromirbenes on 6/3/2014 at 5:10 AM
Coordinator
Jun 3, 2014 at 12:13 PM
Now I've noticed that I haven't actually changed help on dat2str to reflect this. Will do.

Thanks,
Jaromir
Marked as answer by jaromirbenes on 6/3/2014 at 5:13 AM
Jun 3, 2014 at 3:14 PM
Jaromir, thank you for your reply.