<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="margin: 0px; line-height: normal;" class="">Hi Silvana,</div><div style="margin: 0px; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class="">Can you check the match_str function?</div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Courier;" class=""><br class=""></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Courier;" class="">[seldat, sellay] = match_str(label, cfg.layout.label);</div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Courier;" class=""><span style="color: #0433ff" class="">if</span> isempty(seldat)</div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Courier; color: rgb(178, 69, 243);" class=""><span style="color: #000000" class="">  ft_error(</span>'labels in data and labels in layout do not match'<span style="color: #000000" class="">);</span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Courier; color: rgb(4, 51, 255);" class="">end</div><div class=""><br class=""></div><div class="">Best</div><div class=""><br class=""></div><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Aykut</div>

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 5 Nov 2018, at 18:23, SILVA PEREIRA, SILVANA <<a href="mailto:silvana.silva@upf.edu" class="">silvana.silva@upf.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><br class=""></div><div class="">Hi Diego, </div><div class=""><br class=""></div><div class="">Your suggestion works fine for ft_databrowser, but not for ft_icabrowser!</div><div class=""><br class=""></div><div class="">best regards,</div><div class="">Silvana</div></div></div></div></div></div></div></div></div></div></div></div></div><br class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="">El lun., 5 nov. 2018 a las 16:58, Diego Lozano-Soldevilla (<<a href="mailto:dlozanosoldevilla@gmail.com" class="">dlozanosoldevilla@gmail.com</a>>) escribió:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto" class=""><div class="">Hi Silvana,<div dir="auto" class="">Could you try the component viewmode option? </div><div dir="auto" class=""><br class=""></div><div dir="auto" class=""><pre style="font-family:menlo,monaco,consolas,"courier new",monospace;font-size:13px;padding:9.5px;margin-top:0px;margin-bottom:10px;line-height:1.42857;color:rgb(51,51,51);background-color:rgb(245,245,245);border:1px solid rgb(204,204,204);border-radius:4px;white-space:pre-wrap;text-align:justify" class="">cfg          = <span style="color:rgb(102,204,102)" class="">[</span><span style="color:rgb(102,204,102)" class="">]</span>;
cfg.<span style="color:rgb(0,102,0)" class="">layout</span>   = <span style="color:rgb(51,153,51)" class="">'</span>acticap-64ch-standard<span style="color:rgb(51,153,51)" class="">'</span>;
cfg.<span style="color:rgb(0,102,0)" class="">viewmode</span> = <span style="color:rgb(51,153,51)" class="">'component'</span>; <span style="color:rgb(128,128,128);font-style:italic" class="">% Mode specifically suited to browse through <span style="background-color:rgb(252,248,227);padding:0.2em" class="">ICA</span> data</span>
ft_databrowser<span style="color:rgb(102,204,102)" class="">(</span>cfg, comp<span style="color:rgb(102,204,102)" class="">)</span>;</pre></div><div dir="auto" class="">Best,</div><div dir="auto" class="">Diego</div><br class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Mon, Nov 5, 2018, 16:38 SILVA PEREIRA, SILVANA <<a href="mailto:silvana.silva@upf.edu" rel="noreferrer" target="_blank" class="">silvana.silva@upf.edu</a> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class="">Dear all, <div class=""><br class=""></div><div class="">I'm trying to use the funtion ft_icabrowser.m, but I get the following error message:</div><div class=""><br class=""></div><div class=""><div class="">Error using topoplot_common (line 523)</div><div class="">labels in data and labels in layout do not match</div><div class=""><br class=""></div><div class="">Error in ft_topoplotIC (line 184)</div><div class="">  [cfg] = topoplot_common(cfg, comp);</div><div class=""><br class=""></div><div class="">Error in ft_icabrowser (line 151)</div><div class="">        ft_topoplotIC(cfgtopo, comp);</div></div><div class=""><br class=""></div><div class="">I understand that the error is due to a mismatch between the labels of the cfg struct and the layout I'm using. I modified the entries of the struct in acticap-64ch-standard2.mat, where I removed four of the channels, since we have in addition RM, LM, Heog and Veog. Adding these four labels to the original label list does not solve the problem. Any idea to work around this issue?</div><div class=""><br class=""></div><div class="">Thank you!</div><div class="">Silvana</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class=""><div dir="ltr" class="m_-7958928083808694682m_5617997907684184305m_2130746264415080893gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><font class=""><span style="font-family:Georgia,Arial;font-size:11px;line-height:13px" class=""><strong class="">Silvana Silva Pereira</strong><br class="">/Postdoctoral Researcher/</span></font><font class=""><span style="font-family:Georgia,Arial;font-size:11px;line-height:13px" class=""><br class=""></span></font></div><div dir="ltr" class=""><font class=""><span style="font-family:Georgia,Arial;font-size:11px;line-height:13px" class=""><a href="http://cbc.upf.edu/cbc.upf.edu/index.html" rel="noreferrer noreferrer" target="_blank" class="">Center for Brain and Cognition</a></span></font><span style="font-family: Georgia, Arial; font-size: 11px;" class=""><br class=""></span></div><div dir="ltr" class=""><img src="http://www.upf.edu/universitat/_img/signatura-correu.png" alt="Universitat Pompeu Fabra, Barcelona" style="font-family: -webkit-standard;" class=""><br class=""></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer noreferrer noreferrer" target="_blank" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
<a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer noreferrer noreferrer" target="_blank" class="">https://doi.org/10.1371/journal.pcbi.1002202</a><br class="">
</blockquote></div>
</div></div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
<a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank" class="">https://doi.org/10.1371/journal.pcbi.1002202</a><br class="">
</blockquote></div></div>
_______________________________________________<br class="">fieldtrip mailing list<br class=""><a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">https://doi.org/10.1371/journal.pcbi.1002202<br class=""></div></blockquote></div><br class=""></body></html>