<div>With the -struct switch, you can save just the EEG variable to a mat file, in case the GUI way that Clemens advised wouldn't fit for you.</div><div><br></div><div>save filename.mat -struct EEG;</div><div><br></div>
<div>and then</div><div><br></div><div>EEG=load('filename.mat'); % this would then recover your EEG var in a new session.<br><br><div class="gmail_quote">On Mon, Oct 15, 2012 at 9:33 PM, Stephen Politzer-Ahles <span dir="ltr"><<a href="mailto:politzerahless@gmail.com" target="_blank">politzerahless@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Tongxiao,<br><br>After loading the .set file in EEGLAB, you can simply type 'save' (or 'save <some name>.mat') in the MATLAB command window to save the whole workspace as a .mat file. After that, the next time you open EEGLAB you can just load the .mat file and type 'eeglab redraw' to re-open the .set file.<br>

<br>I'm not sure what you intend to do with the .mat file, so I'm not sure if this answers your question.<br><br>Good luck,<br>Steve<br><br><div class="gmail_quote"><div><div class="h5">On Mon, Oct 15, 2012 at 3:24 AM,  <span dir="ltr"><<a href="mailto:mengtongxiao@sina.com" target="_blank">mengtongxiao@sina.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div> <br>
<div style="text-indent:0px;letter-spacing:normal;color:rgb(34,34,34);font:14px arial,sans-serif;text-transform:none;white-space:normal;word-spacing:0px">Dear All,</div>
<div style="text-indent:0px;letter-spacing:normal;color:rgb(34,34,34);font:14px arial,sans-serif;text-transform:none;white-space:normal;word-spacing:0px">I want c<span style="LINE-HEIGHT:21px;FONT-FAMILY:'Lucida Grande','Lucida Sans Unicode',Geneva,Verdana,sans-serif">onvert </span><span style="LINE-HEIGHT:21px;FONT-FAMILY:'Lucida Grande','Lucida Sans Unicode',Geneva,Verdana,sans-serif;FONT-SIZE:14px"> a set </span><span style="LINE-HEIGHT:21px;FONT-FAMILY:'Lucida Grande','Lucida Sans Unicode',Geneva,Verdana,sans-serif;FONT-SIZE:14px">file to a Matlab mat file.</span></div>


<div style="text-indent:0px;letter-spacing:normal;color:rgb(34,34,34);font:14px arial,sans-serif;text-transform:none;white-space:normal;word-spacing:0px"><span style="LINE-HEIGHT:21px;FONT-FAMILY:'Lucida Grande','Lucida Sans Unicode',Geneva,Verdana,sans-serif;FONT-SIZE:14px">how should I do?</span></div>


<div style="text-indent:0px;letter-spacing:normal;color:rgb(34,34,34);font:14px arial,sans-serif;text-transform:none;white-space:normal;word-spacing:0px"><span style="LINE-HEIGHT:21px;FONT-FAMILY:'Lucida Grande','Lucida Sans Unicode',Geneva,Verdana,sans-serif;FONT-SIZE:14px"></span> </div>


<div style="text-indent:0px;letter-spacing:normal;color:rgb(34,34,34);font:14px arial,sans-serif;text-transform:none;white-space:normal;word-spacing:0px"><span style="LINE-HEIGHT:21px;FONT-FAMILY:'Lucida Grande','Lucida Sans Unicode',Geneva,Verdana,sans-serif;FONT-SIZE:14px"><span style="text-indent:0px;letter-spacing:normal;color:rgb(34,34,34);font:14px arial,sans-serif;text-transform:none;white-space:normal;display:inline!important;float:none;word-spacing:0px">Thanking you in advance.</span></span></div>


<div style="text-indent:0px;letter-spacing:normal;color:rgb(34,34,34);font:14px arial,sans-serif;text-transform:none;white-space:normal;word-spacing:0px"><span style="LINE-HEIGHT:21px;FONT-FAMILY:'Lucida Grande','Lucida Sans Unicode',Geneva,Verdana,sans-serif;FONT-SIZE:14px"><span style="text-indent:0px;letter-spacing:normal;color:rgb(34,34,34);font:14px arial,sans-serif;text-transform:none;white-space:normal;display:inline!important;float:none;word-spacing:0px"></span></span> </div>


<div style="text-indent:0px;letter-spacing:normal;color:rgb(34,34,34);font:14px arial,sans-serif;text-transform:none;white-space:normal;word-spacing:0px"><span style="LINE-HEIGHT:21px;FONT-FAMILY:'Lucida Grande','Lucida Sans Unicode',Geneva,Verdana,sans-serif;FONT-SIZE:14px"><span style="text-indent:0px;letter-spacing:normal;color:rgb(34,34,34);font:14px arial,sans-serif;text-transform:none;white-space:normal;display:inline!important;float:none;word-spacing:0px"> </span></span></div>

</div><br></div></div>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>Stephen Politzer-Ahles<br>
University of Kansas<br>Linguistics Department<br><a href="http://people.ku.edu/~sjpa/" target="_blank">http://people.ku.edu/~sjpa/</a><br>
</font></span><br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br></div>