0
Is there a way to use dir command in a function in MATLAB. I want to take argument in fiction and that argument to be part of dir command for e.g
function a = abc(num)
aaa=dir('abc_num_*.csv);
end
I am getting error while doing it as num taken as an argument is not going in dir function. Is there a way to do it ?