<p style="font-family:SimSun;">
        <span style="font-family:Times New Roman;">Dear fieldtrippers.</span>
</p>
<p style="font-family:SimSun;">
        <br>
</p>
<p style="font-family:SimSun;">
        <span style="font-family:Times New Roman;">I am currently new to fieldtrip, and would like to analysis fMRI data with the toolbox. </span>
</p>
<p style="font-family:SimSun;">
        <br>
</p>
<p style="font-family:SimSun;">
        <span style="font-family:Times New Roman;">I started by following</span><span style="font-family:Times New Roman;"> the instructions on "</span><span style="font-family:"Times New Roman";">Getting started with fMRI timeseries data</span><span style="display:none;font-family:"Times New Roman";" id="__kindeditor_bookmark_start_26__"></span><span style="font-family:Times New Roman;">" (</span><span style="font-family:Times New Roman;">https://www.fieldtriptoolbox.org/getting_started/fmri/</span><span style="font-family:Times New Roman;">). However, when executing the command </span>
</p>
<p style="font-family:SimSun;">
</p><pre class="highlight" style="box-sizing:border-box;font-family:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;font-size:13.2px;margin-top:0px;margin-bottom:0px;overflow:auto;color:#212529;background:#F0F0F0;"><code style="box-sizing:border-box;font-family:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;font-size:inherit;color:inherit;word-break:normal;"><span class="n" style="box-sizing:border-box;">filename4d</span> <span class="o" style="box-sizing:border-box;color:#666666;">=</span> <span class="s1" style="box-sizing:border-box;color:#4070A0;">'sub-01_ses-mri_task-facerecognition_run-01_bold.nii'</span><span class="p" style="box-sizing:border-box;">;</span></code></pre>
<pre class="highlight" style="box-sizing:border-box;font-family:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;font-size:13.2px;margin-top:0px;margin-bottom:0px;overflow:auto;color:#212529;background:#F0F0F0;"><code style="box-sizing:border-box;font-family:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;font-size:inherit;color:inherit;word-break:normal;"><span class="n" style="box-sizing:border-box;">volume4d</span> <span class="o" style="box-sizing:border-box;color:#666666;">=</span> <span class="n" style="box-sizing:border-box;">ft_read_mri</span><span class="p" style="box-sizing:border-box;">(</span><span class="n" style="box-sizing:border-box;">filename4d</span><span class="p" style="box-sizing:border-box;">,</span> <span class="s1" style="box-sizing:border-box;color:#4070A0;">'outputfield'</span><span class="p" style="box-sizing:border-box;">,</span> <span class="s1" style="box-sizing:border-box;color:#4070A0;">'functional'</span><span class="p" style="box-sizing:border-box;">);</span></code></pre>
<span style="font-family:Times New Roman;">I got a resulting </span><span style="font-family:Times New Roman;">struct with </span><span style="font-family:Times New Roman;">the field "anatomy", which is a 4D double,</span><span style="font-family:Times New Roman;"> but not "functional</span><span style="font-family:Times New Roman;">" as it supposed to be regarding the manual</span><span style="font-family:Times New Roman;">.</span>
<p></p>
<p style="font-family:SimSun;">
        <br>
</p>
<p style="font-family:SimSun;">
        <span style="font-family:Times New Roman;">Moreover, when I proceeded with the remaining code trying to </span><span style="font-family:Times New Roman;">represent the 4D timeseries data as a source representation</span><span style="font-family:Times New Roman;">, I got an error saying</span>
</p>
<p style="font-family:SimSun;">
        <span style="font-family:Times New Roman;">Arrays have incompatible sizes for this operation.</span>
</p>
<p style="font-family:SimSun;">
        <span style="font-family:Times New Roman;">Error in ft_sourceplot>cb_redraw (line 1550)</span><br>
<span style="font-family:Times New Roman;">if any([xi yi zi] > functional.dim) || any([xi yi zi] <= 0)</span><br>
<br>
<span style="font-family:Times New Roman;">Error in ft_sourceplot (line 1106)</span><br>
<span style="font-family:Times New Roman;">    cb_redraw(h);</span><br>
<span style="font-family:Times New Roman;"></span>
</p>
<p style="font-family:SimSun;">
        <br>
</p>
<p style="font-family:SimSun;">
        <span style="font-family:Times New Roman;"> How can I fix the problem?</span>
</p>
<p style="font-family:SimSun;">
        <br>
</p>
<p style="font-family:SimSun;">
        <span style="font-family:Times New Roman;">Thanks in advance!</span>
</p>