Hi,
Can I call Matlab function for stimulus presentation in BCI2000? If so, how?
Thanks,
Kamrun
Stimulus presentation using Matlab script
Matlab ...
Kamrun,
You can definitely use Matlab for stimulus presentation in BCI2000. Please check out the documentation for the Matlab filter:
http://www.bci2000.org/wiki/index.php/U ... tlabFilter
More general information about using Matlab within BCI2000:
http://www.bci2000.org/wiki/index.php/P ... sed_Filter
and the FieldtripBuffer, which allows for asynchronous processing:
http://www.bci2000.org/wiki/index.php/C ... TripBuffer
In general, I am not sure that Matlab is the best approach for writing code for stimulus presentation. In fact, unless you use specialized toolboxes, the timing of stimulus presentation will be quite poor.
You can of course use the BCI2000 StimulusPresentation module to present stimuli. This will give you good timing performance. You can also modify the code if you need more specialized types of stimulus presentation -- we have good documentation on how to do that, but you need to program in C++. If you would like to use a different high level language, you may want to use Python for stimulus presentation:
http://www.bci2000.org/wiki/index.php/C ... s:BCPy2000
I hope this helps.
Gerv
You can definitely use Matlab for stimulus presentation in BCI2000. Please check out the documentation for the Matlab filter:
http://www.bci2000.org/wiki/index.php/U ... tlabFilter
More general information about using Matlab within BCI2000:
http://www.bci2000.org/wiki/index.php/P ... sed_Filter
and the FieldtripBuffer, which allows for asynchronous processing:
http://www.bci2000.org/wiki/index.php/C ... TripBuffer
In general, I am not sure that Matlab is the best approach for writing code for stimulus presentation. In fact, unless you use specialized toolboxes, the timing of stimulus presentation will be quite poor.
You can of course use the BCI2000 StimulusPresentation module to present stimuli. This will give you good timing performance. You can also modify the code if you need more specialized types of stimulus presentation -- we have good documentation on how to do that, but you need to program in C++. If you would like to use a different high level language, you may want to use Python for stimulus presentation:
http://www.bci2000.org/wiki/index.php/C ... s:BCPy2000
I hope this helps.
Gerv
Matlab for stimulus presentation in BCI2000.
Thanks, Gerwin.
I was trying to use my existing MATLAB code for custom stimuli presentation within BCI2000 framework.
My impression was MatlabFilter or FieldTrip buffers could be used for the signal processing module only. I will see how it works for the stimuli presentation.
I know only Matlab of all the three (C++, Python, Matlab)!! So, I am kind of limited there.
Kamrun
I was trying to use my existing MATLAB code for custom stimuli presentation within BCI2000 framework.
My impression was MatlabFilter or FieldTrip buffers could be used for the signal processing module only. I will see how it works for the stimuli presentation.
I know only Matlab of all the three (C++, Python, Matlab)!! So, I am kind of limited there.
Kamrun
Who is online
Users browsing this forum: No registered users and 32 guests