MATLAB Answers

Error " Undefined function 'minus' for input arguments of type 'cell'

1 view (last 30 days)
Steve
Steve on 3 Mar 2015
Edited: per isakson on 3 Mar 2015
Hi,
When I try to select the option ' Search how to include regressors in the nonlinear block ' using the system identification tool box i get the error ' undefined function 'minus' for input arguments of type 'cell' '
Maybe I wrote the custom regressors badly ?
Here they are :
c2 = customreg(@(x)((x>1.3) || (x<-0.5))*x,{'u1'},0);
c1 = customreg(@(x)max(min(x,111.5),-104.3),{'y1'},1);
Please help me,
Stevi

  0 Comments

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!