slice<a name="10"></a></h2><div><ul><li><a href="matlab:doc('mreslice2avi')">Help for mreslice2avi.m</a></li></ul></div><p><b>Usage:</b></p><pre class="language-matlab">mreslice2avi(phase_image,movie_filename_prefix,slice)
&gt;&gt; data = load(<span class="string">'Datasets/imgXYZ.mat'</span>)
&gt;&gt; mreslice2avi(data.P,<span class="string">'imgXYZ_slice'</span>,15)
</pre><pre class="codeoutput">
data = 

    header: [1x1 struct]
         M: [5-D double]
         P: [5-D double]

</pre><img vspace="5" hsp