when i execut i got an error ??? Undefined function or method 'randperm' for input arguments of type 'double'. Error in ==> ant at 26 tour(ic,:)=randperm(Ncity);
이전 댓글 표시
답변 (1개)
Image Analyst
2013년 8월 25일
Type
>> which -all randperm
and tell us what it says. Most likely you have some other randperm that has blown away the built-in one (i.e. is being used in precedence to the built in one), or somehow you deleted the built-in randperm.
카테고리
도움말 센터 및 File Exchange에서 Solver-Based Linear Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!