Error: Function definitions are not permitted in this context.

5 Ansichten (letzte 30 Tage)
>> 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?

Akzeptierte Antwort

Star Strider
Star Strider am 16 Dez. 2016
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.

Weitere Antworten (0)

Kategorien

Mehr zu Labels and Annotations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by