Hi,
I am a *two days *old beginner for *Julia* and it seemed I can translate
*Matlab* code into Julia in a second (?) but the reality is always
different...
The goal for original *Matlab* code was to select eight time series data
files (matlab format) in a folder(directory) and run the data analysis with
"for loop" one by one.
Now it looks like *Juila* code but it is not yet working because 1) it
still use *Matlab *functions like dir() and 2) it need to run data files in
*.mat* format.
I have error from dirData = (line 5) and could you help me out from there?
#set file path
loadPath="E:\USA\Data\Data111" ;
#select only Matlab files
cd(loadPath)
dirData = dir("*.mat"); ## Selected mat files
fileNames = {dirData.name}; ## named the list of the files as fileNames
#run loop
for s=1:8
FN=fileNames(s) # select one file
DATA=load(char(FN))
"run additional codes"
end;