Which of the following statements is true about user-defined MATLAB functions?
a) They cannot have input parameters
b) They cannot have output parameters
c) They can only be used in scripts, not functions
d) They can have both input and output parameters