Error: Function definitions are not permitted in this context.

>> function [cim, r, c] = harris(im, sigma, thresh, radius, disp)
??? function [cim, r, c] = harris(im, sigma, thresh, radius, disp)
Error: Function definitions are not permitted in this context.
what is the problem. what will ı do?

 채택된 답변

Star Strider
Star Strider 2016년 12월 16일

1 개 추천

You have to write your function in the Editor and save it as a function file (‘.m’) file. See the documentation on Function Basics for details.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Labels and Annotations에 대해 자세히 알아보기

질문:

2016년 12월 16일

편집:

2017년 1월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by