I would like to convert my matlab code to C++ code
F = @(x,u) cp_dyn_mex(x,u); Fp = @(x,u) pour(F,x,u); DYN = @(x,u,t) diff_xu(Fp, x, u, herr, order);
I get the following:
Caused by: Error determining type for input 'pour:fun'. Class function_handle is not supported by coder.Type.
Best Answer