Unrecognized function or variable
ww2.mathworks.cn › matlabcentral › answersDec 28, 2021 · Hello, I'm trying to run the beginning of a script that was sent to me: function [ FList ] = ReadFileNames (DataFolder) DirContents=dir (DataFolder); FList= []; DataFolder is the name of the folder in which all my data is held. When I click the Run button I receive: ReadFileNames (DataFolder) Unrecognized function or variable 'DataFolder'.