need help about this error

function [ output_args ] = detectCopyMove( im,b ); in this i am getting error not enough input arguments. how to over come it.

Risposte (1)

James Tursa
James Tursa il 22 Lug 2017

0 voti

The function detectCopyMove apparently takes more than two input arguments. Look at this function to determine what the required inputs are.

2 Commenti

ok.....but how to give more than 2 input arguments. i mean what has to be typed??
Sorry, I misread your question. It looks like the function detectCopyMove takes two arguments per your post, but you are passing in only 0 or 1 argument. E.g.,
detectCopyMove; % <-- will generate the error
detectCopyMove(x); % <-- will generate the error
Pushing the green arrow run button in the editor is the equivalent of calling the function with no input arguments, and will also generate the error.
So, how are you calling the function? I.e., what are you doing that is calling the function? Do you have code that is calling it? Are you trying to call it from the command line? Or ...?

Accedi per commentare.

Categorie

Scopri di più su MATLAB Coder in Centro assistenza e File Exchange

Richiesto:

il 22 Lug 2017

Commentato:

il 22 Lug 2017

Community Treasure Hunt

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

Start Hunting!

Translated by