<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.besa.de/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.besa.de/index.php?action=history&amp;feed=atom&amp;title=Export_Data_to_Brainstorm</id>
		<title>Export Data to Brainstorm - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.besa.de/index.php?action=history&amp;feed=atom&amp;title=Export_Data_to_Brainstorm"/>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Export_Data_to_Brainstorm&amp;action=history"/>
		<updated>2026-05-02T11:41:47Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.10</generator>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Export_Data_to_Brainstorm&amp;diff=5291&amp;oldid=prev</id>
		<title>Jaehyun at 11:08, 27 August 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Export_Data_to_Brainstorm&amp;diff=5291&amp;oldid=prev"/>
				<updated>2021-08-27T11:08:51Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 11:08, 27 August 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;BESA Research can export EEG or MEG data to MATLAB in a structure data type named &amp;lt;code&amp;gt;besa_channels&amp;lt;/code&amp;gt;. The exported data structure can be also imported to [https://neuroimage.usc.edu/brainstorm/Introduction Brainstorm] for further analysis using the &amp;lt;code&amp;gt;besa2brainstorm&amp;lt;/code&amp;gt; MATLAB function included in the [https://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;www&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;besa.de&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;downloads&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;matlab&lt;/del&gt;/ BESA MATLAB Readers&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;BESA Research can export EEG or MEG data to MATLAB in a structure data type named &amp;lt;code&amp;gt;besa_channels&amp;lt;/code&amp;gt;. The exported data structure can be also imported to [https://neuroimage.usc.edu/brainstorm/Introduction Brainstorm] for further analysis using the &amp;lt;code&amp;gt;besa2brainstorm&amp;lt;/code&amp;gt; MATLAB function included in the [https://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;github&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;com&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;BESA-GmbH&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;BESA-MATLAB-Scripts&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;releases/latest/download/BESA2MATLAB.zip BESA2MATLAB] (&lt;/ins&gt;BESA MATLAB Readers&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;)&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:ExportDataToBrainstorm01.png|700px]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:ExportDataToBrainstorm01.png|700px]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jaehyun</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Export_Data_to_Brainstorm&amp;diff=5272&amp;oldid=prev</id>
		<title>Jaehyun at 10:22, 31 May 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Export_Data_to_Brainstorm&amp;diff=5272&amp;oldid=prev"/>
				<updated>2021-05-31T10:22:31Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 10:22, 31 May 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;BESA Research can export EEG or MEG data to MATLAB in a structure data type named &amp;lt;code&amp;gt;besa_channels&amp;lt;/code&amp;gt;. The exported data structure can be also imported to [https://neuroimage.usc.edu/brainstorm/Introduction Brainstorm] for further analysis using the &amp;lt;code&amp;gt;besa2brainstorm&amp;lt;/code&amp;gt; MATLAB function included in the [https://www.besa.de/downloads/matlab/ BESA MATLAB Readers].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;BESA Research can export EEG or MEG data to MATLAB in a structure data type named &amp;lt;code&amp;gt;besa_channels&amp;lt;/code&amp;gt;. The exported data structure can be also imported to [https://neuroimage.usc.edu/brainstorm/Introduction Brainstorm] for further analysis using the &amp;lt;code&amp;gt;besa2brainstorm&amp;lt;/code&amp;gt; MATLAB function included in the [https://www.besa.de/downloads/matlab/ BESA MATLAB Readers].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[File:ExportDataToBrainstorm01.png|700px]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Procedure ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Procedure ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jaehyun</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Export_Data_to_Brainstorm&amp;diff=5264&amp;oldid=prev</id>
		<title>Jaehyun: Created page with &quot;{{BESAInfobox |title = Module information |module = BESA Research Standard or higher |version = BESA Research 6.1 or higher }}  BESA Research can export EEG or MEG data to MAT...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Export_Data_to_Brainstorm&amp;diff=5264&amp;oldid=prev"/>
				<updated>2021-05-21T16:11:34Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{BESAInfobox |title = Module information |module = BESA Research Standard or higher |version = BESA Research 6.1 or higher }}  BESA Research can export EEG or MEG data to MAT...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Standard or higher&lt;br /&gt;
|version = BESA Research 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
BESA Research can export EEG or MEG data to MATLAB in a structure data type named &amp;lt;code&amp;gt;besa_channels&amp;lt;/code&amp;gt;. The exported data structure can be also imported to [https://neuroimage.usc.edu/brainstorm/Introduction Brainstorm] for further analysis using the &amp;lt;code&amp;gt;besa2brainstorm&amp;lt;/code&amp;gt; MATLAB function included in the [https://www.besa.de/downloads/matlab/ BESA MATLAB Readers].&lt;br /&gt;
&lt;br /&gt;
== Procedure ==&lt;br /&gt;
&lt;br /&gt;
# Export EEG or MEG data to MATLAB in BESA Research using the [[Export#Export_Dialog | '''Export data''']] dialog (''File &amp;amp;rarr; Send to MATLAB...'').&lt;br /&gt;
# After finishing the data exporting process, type &amp;lt;code&amp;gt;desktop&amp;lt;/code&amp;gt; in the MATLAB window to open the MATLAB desktop window.&lt;br /&gt;
# Add the '''BESA MATLAB Readers''' and '''Brainstorm''' folders to the search path for MATLAB.&lt;br /&gt;
# Run Brainstorm and then create a '''Protocol''' and '''Subject'''. Protocols and subjects already created in Brainstorm can be also used instead of creating new ones.&lt;br /&gt;
# Import the &amp;lt;code&amp;gt;besa_channels&amp;lt;/code&amp;gt; structure to Brainstorm using the &amp;lt;code&amp;gt;besa2brainstorm&amp;lt;/code&amp;gt; function. For an example, refer to the MATLAB script below.&lt;br /&gt;
&lt;br /&gt;
An example MATLAB script for importing the &amp;lt;code&amp;gt;besa_channels&amp;lt;/code&amp;gt; structure to Brainstorm:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;matlab&amp;quot;&amp;gt;&lt;br /&gt;
% Add paths: BESA2MATLAB (BESA MATLAB Readers) and Brainstorm&lt;br /&gt;
%addpath('xxx');&lt;br /&gt;
%addpath('xxx');&lt;br /&gt;
&lt;br /&gt;
% Create a protocol and a subject in Brainstorm&lt;br /&gt;
% ex) Protocol name: Protocol01; Subject name: Subject01&lt;br /&gt;
&lt;br /&gt;
% Import the besa_channels structure to Brainstorm&lt;br /&gt;
bstVar              = [];&lt;br /&gt;
bstVar.ProtocolName = 'Protocol01';&lt;br /&gt;
bstVar.SubjectName  = 'Subject01';&lt;br /&gt;
bstVar.StudyName    = 'test_S1_EpochedData';&lt;br /&gt;
besa2brainstorm(besa_channels, bstVar, true);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[MATLAB Interface]]&lt;br /&gt;
* [[Export]]&lt;br /&gt;
* [[Export Single Trial Data]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Data Import/Export‏‎]]&lt;/div&gt;</summary>
		<author><name>Jaehyun</name></author>	</entry>

	</feed>