Error: Function definitions are not permitted in this context.

1 回表示 (過去 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 Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by