Undefined function 'cadaCheckForDerivs' for input arguments of type 'struct'...
A MATLAB Automatic Differentiation Tool
Brought to you by:
anilvrao2,
weinstein87
Hello,
I am trying to use adigator to find the derivative of the function defined below (saved in stateTransition.m).
Unfortenately, it seems it doesn't accept the interp1. The commands I type are :
it displays the following error message :
Undefined function 'cadaCheckForDerivs' for input arguments of type 'struct'.
Error in cada/interp1 (line 103)
elseif cadaCheckForDerivs(x) || cadaCheckForDerivs(y)
Error in adigatortempfunc1 (line 33)
ds(4) = interp1([0,2,3,5,6,7,8,9,10]',
[0,0.2244,0.3850,0.6309,0.7839,1.022,1.1630,1.3959,1.5340]', uTrans) * cos(s(3));
Error in adigator (line 647)
[FunctionInfo, Outputs] = adigatortempfunc1(FunctionInfo,UserFunInputs);
How can I fix this?
Thanks for the program and for your help
Hello,
Sorry it took me awhile to get to this, there was an issue with the pure numeric inputs to interp1. I added a dummy cadaCheckForDerivs routine as a workaround. The 1.4.1 release and current code on SVN should fix this.
Matt