Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Not enough input arguements error

2 vues (au cours des 30 derniers jours)
hnh paritosh
hnh paritosh le 12 Mar 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hi I am a beginner in MATLAB and having a problem. Here is my function
function [] = FingerprintFn(src_dir,path)
files=dir(path);
n=length(files);
nn=randi(n);
[filename, type]=strtok(files(nn).name,'.');
I=imread([src_dir,files(nn).name]);
imshow(I);
end
The files and src_dir are already defined and are present in workspace.
files = 'C:\Users\abc\123.bmp';
%and
src_dir = 'C:\Users\abc\';
The MATLAB displays the error in line that Not enough input arguements.
Please help :( :(

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by