Error: Function definitions are not permitted in this context.
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
bahadir safak
il 16 Dic 2016
Modificato: Geoff Hayes
il 12 Gen 2017
>> 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?
0 Commenti
Risposta accettata
Star Strider
il 16 Dic 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.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Workspace Variables and MAT-Files in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!