We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57fd06a commit 859cb51Copy full SHA for 859cb51
fLoad_EEG_csv.m
@@ -0,0 +1,16 @@
1
+% Function to load a .csv file
2
+% input: path -> Address where the files are stored
3
+% input: file_name -> String file name to be uploaded
4
+% return: allData -> File uploaded to worspace
5
+% Example to use:
6
+% path = fullfile('./data/');%data folder
7
+% allData = fLoad_EEG_csv(path,'AllDataRMS.csv');
8
+
9
+% More examples: https://github.com/vasanza/Matlab_Code
10
+% Read more: https://vasanza.blogspot.com/
11
12
+function [allData] = fLoad_EEG_csv(path,file_name)
13
+ path1=fullfile(path,file_name);
14
+ data=readtable(path1);%Select i CSV file
15
+ allData=table2array(data);% Array Double
16
+end
0 commit comments