Error: Function definitions are not permitted in this context.

조회 수: 7 (최근 30일)
bahadir safak
bahadir safak 2016년 12월 16일
편집: Geoff Hayes 2017년 1월 12일
>> 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일
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개)

카테고리

Help CenterFile Exchange에서 Labels and Annotations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by