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?

 Respuesta aceptada

Star Strider
Star Strider el 16 de Dic. de 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.

Más respuestas (0)

Categorías

Más información sobre Labels and Annotations en Centro de ayuda y File Exchange.

Preguntada:

el 16 de Dic. de 2016

Editada:

el 12 de En. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by