<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:0px 0px 1.2em!important">You should load the file to matlab directly either by:</p>
<ul style="margin:1.2em 0px;padding-left:2em">
<li style="margin:0.5em 0px">dragging and dropping</li>
<li style="margin:0.5em 0px">file -> open  (or open in newer matlab versions)</li>
<li style="margin:0.5em 0px">or running:<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code class="hljs language-matlab" style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248);white-space:pre;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;overflow-x:auto;padding:0.5em;background:rgb(35,36,31);color:rgb(248,248,242)">ld = load(<span class="hljs-string" style="color:rgb(230,219,116)">'filename.mat'</span>); <span class="hljs-comment" style="color:rgb(117,113,94)">% this only works if you are in the same dir</span>
<span class="hljs-comment" style="color:rgb(117,113,94)">% now ld is a structure with various variables in it:</span>
fields(ld) <span class="hljs-comment" style="color:rgb(117,113,94)">% shows the variables</span>
<span class="hljs-comment" style="color:rgb(117,113,94)">% assuming one of the vars you are interested in is EEG:</span>
EEG = <span class="hljs-transposed_variable">ld.</span>EEG;
<span class="hljs-comment" style="color:rgb(117,113,94)">% now you can remove the temporary ld variable:</span>
clear ld
</code></pre>
</li>
</ul>
<div title="MDH:WW91IHNob3VsZCBsb2FkIHRoZSBmaWxlIHRvIG1hdGxhYiBkaXJlY3RseSBlaXRoZXIgYnk6PGRp
dj4qIGRyYWdnaW5nIGFuZCBkcm9wcGluZzwvZGl2PjxkaXY+KiBmaWxlIC0mZ3Q7IG9wZW4gJm5i
c3A7KG9yIG9wZW4gaW4gbmV3ZXIgbWF0bGFiIHZlcnNpb25zKTwvZGl2PjxkaXY+KiBvciBydW5u
aW5nOjwvZGl2PjxkaXY+Jm5ic3A7IGBgYG1hdGxhYjwvZGl2PjxkaXY+Jm5ic3A7IGxkID0gbG9h
ZCgnZmlsZW5hbWUubWF0Jyk7ICUgdGhpcyBvbmx5IHdvcmtzIGlmIHlvdSBhcmUgaW4gdGhlIHNh
bWUgZGlyPC9kaXY+PGRpdj4mbmJzcDsgJSBub3cgbGQgaXMgYSBzdHJ1Y3R1cmUgd2l0aCB2YXJp
b3VzIHZhcmlhYmxlcyBpbiBpdDo8L2Rpdj48ZGl2PiZuYnNwOyBmaWVsZHMobGQpICUgc2hvd3Mg
dGhlIHZhcmlhYmxlczwvZGl2PjxkaXY+Jm5ic3A7ICUgYXNzdW1pbmcgb25lIG9mIHRoZSB2YXJz
IHlvdSBhcmUgaW50ZXJlc3RlZCBpbiBpcyBFRUc6PC9kaXY+PGRpdj4mbmJzcDsgRUVHID0gbGQu
RUVHOzwvZGl2PjxkaXY+Jm5ic3A7ICUgbm93IHlvdSBjYW4gcmVtb3ZlIHRoZSB0ZW1wb3Jhcnkg
bGQgdmFyaWFibGU6PC9kaXY+PGRpdj4mbmJzcDsgY2xlYXIgbGQ8L2Rpdj48ZGl2PiZuYnNwOyBg
YGA8L2Rpdj4=" style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0">​</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-10 16:33 GMT+02:00 Alqattan, Duaa S M <span dir="ltr"><<a href="mailto:dsmalq@essex.ac.uk" target="_blank">dsmalq@essex.ac.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>I have got a mat file and I want to import it </p>
<p><br>
</p>
<p>An error message appears</p>
<p> </p>
<p>"pop_editset() error: cannot read .mat file "</p>
<p><br>
</p>
<p>Could you help me </p>
<p><br>
</p>
<p>Thanks</p><span class="HOEnZb"><font color="#888888">
<p><br>
</p>
<p>Duaa</p>
</font></span></div>
</div>

<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" 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>

<br>
<hr>