</span> setMaterial(this,porousMedia)
            <span class="keyword">if</span> nargin &lt; 2
                disp(<span class="string">'Error in setMaterial: insuficient number of inputs.'</span>);
                disp(<span class="string">'Physics M requires 1 attribute(s): porousMedia.'</span>);
                error(<span class="string">'Error in setMaterial.'</span>);
            <span class="keyword">end</span>
            <span class="keyword">if</span> ~isa(porousMedia,<span class="string">'Porous