Info

此问题已关闭。 请重新打开它进行编辑或回答。

Not enough input arguements error

1 次查看(过去 30 天)
hnh paritosh
hnh paritosh 2018-3-12
关闭: MATLAB Answer Bot 2021-8-20
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 :( :(

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by