Set default attributes for function creation.
setdef(f,'Attrib1',Value1,...)
setdef(f,0)
SETDEF is used to change the default attributes of IMAT Functions (i.e., the attributes set by the imat_fn constructor function). The first argument to SETDEF must be an imat_fn variable (to cause MATLAB to call the correct version of SETDEF), but its value does not matter. For example, you can use the syntax setdef(imat_fn,...).
In the first form, you can provide any arguments that would be acceptable to the set function for a single function. These attributes will be used for future imat_fn variables created by the imat_fn constructor.
The second syntax setdef(f,0) restores all attributes to their original values. The original default attributes are listed in the attribute reference section.
>> setdef(imat_fn, 'abscissamin', 0, 'abscissainc', 0.1);