Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Not enough input arguements error

2 visualizaciones (últimos 30 días)
hnh paritosh
hnh paritosh el 12 de Mzo. de 2018
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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 :( :(

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by