When I use the periodic_function _gen_module in audio weaver designer it works with no problems.
When I try to use it in a Matlab script I see errors. Below are the results from running from the Matlab command line:
>> M=periodic_function_gen_module('test', 48000, 96)
Struct contents reference from a non-struct array object.
Error in awe_variable_subsref
Error in awe_module/subsref
Error in periodic_function_gen_module (line 94)
add_variable(M, 'offsetRad', 'float', (M.offset/180)*pi, 'derived', 'Offset in radiuns.', 1);