<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p><span style="color: rgb(33, 33, 33); font-size: 13.3333px;">Hello Readers,</span><br>
</p>
<p><span style="color: rgb(33, 33, 33); font-size: 13.3333px;"><br>
</span></p>
<p><font color="#212121"><span style="font-size: 13.3333px;">I am attempting to preform dipole fitting using fieldtrip in Octave. I am having trouble whenever the code uses one of the functions that require MEX to work.</span></font></p>
<p><font color="#212121"><span style="font-size: 13.3333px;">I have installed liboctave-dev in order for mkoctave to work. Whenever a function such as solid_angle is called it needs to be compiled to a .mex, as preformed in the solid_angle.m file. </span></font></p>
<p><font color="#212121"><span style="font-size: 13.3333px;">The call can not find the .c files that are needed. </span></font></p>
<p><font color="#212121"><span style="font-size: 13.3333px;"></p>
<div>     "error: no such file, '/home/jad/EAndrew_Lofts/EyesTest/eeg_pipe_asr_amica/analysis/support/dependencies/eeglab_asr_amica/plugins/Fieldtrip-lite141209/forward/private/solid_angle.m'</div>
<div>      error: called from</div>
<div>         bounding_mesh at line 74 column 12</div>
<div>         find_outermost_boundary at line 45 column 17</div>
<div>         ft_prepare_vol_sens at line 85 column 24</div>
<div>         prepare_headmodel at line 94 column 11</div>
<div>         ft_dipolefitting at line 233 column 15</div>
<div>         dipfit_gridsearch at line 106 column 8</div>
<div>         pop_dipfit_gridsearch at line 135 column 10</div>
<div>         pop_multifit at line 133 column 13"</div>
<div><br>
</div>
<div>It appears as if these .c file do no exist. There are plenty of .mex* files in the folder but none of them are recognised by "which solid_angle" except for the one .m file.</div>
<div>Can someone help me find the .c files to compile, or help with getting Octave to recognise and run one of the other .mex* variants.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Andrew Lofts</div>
<br>
</span></font>
<p></p>
</div>
</body>
</html>