<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><font size="2"><span style="font-size: 10pt;">Hi,<br>
I try to read volume from the Neuromag .fif file using <br>
<br>
vol = ft_read_vol(NEUROMAG_FIF_FILE_NAME, 'fileformat', 'neuromag_fif')<br>
<br>
I get the error:<br>
***********************<br>
??? Undefined variable "cfg" or class "cfg.gradfile".<br>
<br>
Error in ==> ft_read_vol at 77<br>
    fprintf('using Neuromag gradiometer definition from %s\n', cfg.gradfile);<br>
<br>
Any advice?<br>
<br>
Elena </span></font>
<div><br>
<div style="font-family: Tahoma; font-size: 13px;">
<div class="BodyFragment" style="font-family: Times New Roman; color: rgb(0, 0, 255);">
<font size="2">
<div class="PlainText">
<hr style="width: 100%; height: 2px;">
Elena V Orekhova, Ph.D.<br>
Inst. Neuroscience and Physiology<br>
University of Gothenburg <br>
S-413 45 Gothenburg, Sweden<br>
phone: +46 31 342 48 02<br>
elena@neuro.gu.se</div>
</font></div>
</div>
</div>
</div>
</body>
</html>