How can I solve this error can someone help
Show older comments
Undefined function or method 'checkbounds' for input arguments of type 'double'.
Error in ==> linprog at 198 [x0,lb,ub,msg] = checkbounds(x0,lb,ub,nvars);
Answers (1)
It means that you do not have the required toolboox in that computer. Either test your code in a computer with the optimization toolbox installed, or buy/install it. To see the toolboxes you have available, try:
ver
in the command line
Categories
Find more on Get Started with Optimization Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!