<div dir="ltr"><div>hello,</div><div><br></div><div>I'm trying to run ICA with eeglab in a cluster,</div><div>I tried to compile eeglab functions and my own eeglab script into a stand-alone program with mcc like this:</div><div><br></div><div>---</div><div>addpath('/user/data/gent/gvo000/gvo00022/vsc41880/IMCO_EEG/eeglab13_4_4b');</div><div>mcc('-mv', '-N', '-p', 'stats', '-p', 'images', '-p', 'signal', ...</div><div>        '-R', '-nodisplay', '-R', '-singleCompThread', ...</div><div>        'eeglab_script.m');</div><div>---</div><div><br></div><div>It looks it works correctly but when I run the stand-alone I have the following error:</div><div><br></div><div>---</div><div>Undefined function or variable 'eeglab_options'.</div><div><br></div><div>Error in eeglab (line 303)</div><div><br></div><div>Error in eeglab_script (line 28)</div><div>---</div><div><br></div><div>I am aware that a “compile_eeglab.m” function exists. However I can't run this function precisely because I'm unable to compile eeglab. Also,  I'm not sure how to include my function into the compiled version,</div><div><br></div><div>Thanks in advance for any pointer,</div><div>Jose<br></div><div><br></div><div>-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">José Luis ULLOA FULGERI, PhD<br><span>+32477429007<br>+32<span>4</span>92646477</span><br><a href="https://sites.google.com/site/joseluisulloafulgeri/" target="_blank">https://sites.google.com/site/joseluisulloafulgeri/</a><br><span style="border-collapse:separate;color:rgb(102,102,102);font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:arial;font-size:small"><span style="font-family:tahoma,sans-serif"><span style="border-collapse:separate;color:rgb(102,102,102);font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:arial;font-size:small"></span></span></span></span></span></div></div></div></div></div></div></div></div></div></div>

</div>