how to remove the following error-Attempt to execute SCRIPT Deblurring_Main as a function:
이전 댓글 표시
code related to image deblurring
댓글 수: 1
Walter Roberson
2016년 4월 30일
What is the first line of Deblurring_Main.m other than lines that are comments or blank lines?
답변 (1개)
Geoff Hayes
2016년 4월 30일
prachi - I suspect that you are trying to pass in one or parameters to the Deblurring_Main.m script as if it were a function. I observe the same error if I do (from the Command Line),
>> Deblurring_Main(42)
Attempt to execute SCRIPT Deblurring_Main as a function:
If you look at the code, you will note that there is no function signature and so is considered a script that does not take in any input parameters, nor does it return any.
To run this script, simply omit the input parameters that you are trying to pass in
>> Deblurring_Main
카테고리
도움말 센터 및 File Exchange에서 Deblurring에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!