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 ExchangeLabels 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