'cell' error
조회 수: 4 (최근 30일)
이전 댓글 표시
I have been chasing this error for about an hour and a half and don't know where to look. In this function I am passing in a number of strings. I also have a few "get(handles.xrayUseBox,'Value')" inputs to the function. I keep getting the error below and am stumped. What does this mean? Do I have a variable undefined? (I'm pretty sure the answer to that is no) or am I using an input in an improper way?
??? Undefined function or method 'noise_function_test_EE1' for input arguments of type 'cell'.
The error is then pointing at the function. Thank you
댓글 수: 0
채택된 답변
Jan
2011년 8월 22일
You can use the debugger to find out more details:
dbstop if error
Then MATLAB stops in the line, which causes the error and you can inspect the types of the local variables. Obviously it contains a function 'noise_function_test_EE1' with a cell as input, but such a function does not exist.
If you cannot solve the problem, post the relevant lines here.
댓글 수: 21
추가 답변 (2개)
Walter Roberson
2011년 8월 22일
Is handles.xrayUseBox an array of handles? If so then get()'ing the Value would result in a cell array.
참고 항목
카테고리
Help Center 및 File Exchange에서 Test Execution에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!