In Matlab use the type-safe version of function "int DDC_CreateChannelPropertyDouble (DDCChannelHandle channel, const char *property, double value)"
Script:
[err,dummyVar,dummyVar,dummyVar,timechan]=calllib(libname,'DDC_AddChannel',timegrp,'DDC_Double',channame,chandesc,chanunitstring,timechanIn);
[err,dummyVar,dummyVar]=calllib(libname,'DDC_CreateChannelPropertyDouble',timechan,'wf_start_offset',0.0);
Error using calllib
No method with matching signature.
[err,dummyVar]=...'DDC_CreateChannelPropertyDouble'... return error:
Code Defined Constant Error Message
6202 DDC_InvalidArgument An invalid argument was passed to the library
Therefore "0.0" (for example) is the cause of the error?