Hi,
Does anyone know if there is a way to convert CSV files into EDF files?
Best,
Julia
Convert CSV to EDF files?
Re: Convert CSV to EDF files?
What is EDF? What app are you trying to import the data in to? I have a script for MATLAB on the site already.
Re: Convert CSV to EDF files?
Hi,
I'm a complete Matlab newbie. When trying to use (run) the MMIMPORT.M script for my csv:
function [museData, museElements] = mmImport('mindMonitor_2021.csv')
I get an error:
>> mmImport
Error: File: mmImport.m Line: 1 Column: 46
Invalid expression. Check for missing multiplication operator, missing or
unbalanced delimiters, or other syntax error. To construct matrices, use
brackets instead of parentheses.
I'm sure I'm doing something wrong, but cannot figure out what that is Anyone?
I'm a complete Matlab newbie. When trying to use (run) the MMIMPORT.M script for my csv:
function [museData, museElements] = mmImport('mindMonitor_2021.csv')
I get an error:
>> mmImport
Error: File: mmImport.m Line: 1 Column: 46
Invalid expression. Check for missing multiplication operator, missing or
unbalanced delimiters, or other syntax error. To construct matrices, use
brackets instead of parentheses.
I'm sure I'm doing something wrong, but cannot figure out what that is Anyone?
Re: Convert CSV to EDF files?
You don't need to type the word "function" when using the script.
Run it like this, (as per the usage example in the script) :
Run it like this, (as per the usage example in the script) :
Code: Select all
[museData, museElements] = mmImport('mindMonitor_2021.csv')
Re: Convert CSV to EDF files?
Hmm... Thanks, but:
Attempt to execute SCRIPT mmImport as a function:
/Users/antti/Documents/MATLAB/mmImport.m
Error in mmImport (line 1)
[museData, museElements] = mmImport('mindMonitor_2021.csv')
Attempt to execute SCRIPT mmImport as a function:
/Users/antti/Documents/MATLAB/mmImport.m
Error in mmImport (line 1)
[museData, museElements] = mmImport('mindMonitor_2021.csv')
Re: Convert CSV to EDF files?
Copy the scripts to the correct folder. Do not edit them.
Then to run a script, you just need to type the command into the command window to run the script with the correct parameters.
Then to run a script, you just need to type the command into the command window to run the script with the correct parameters.
Re: Convert CSV to EDF files?
Ah, perfect. Thanks!