<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>lines</TITLE>
  <TYPE>Scilab Function</TYPE>
  <DATE>April 1993</DATE>
  <SHORT_DESCRIPTION name="mtlb_mode"> switch Matlab like operations</SHORT_DESCRIPTION>
  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>mmode=mtlb_mode()  </CALLING_SEQUENCE_ITEM>
    <CALLING_SEQUENCE_ITEM>mtlb_mode(mmode)  </CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>
  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>mmode</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: boolean</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>
  <DESCRIPTION>
    <P>
    Scilab and Matlab additions and substractions work differently
    when used with empty matrices:
  </P>
    <DESCRIPTION_INDENT>
      <DESCRIPTION_ITEM label="Scilab">
        <SP>:</SP>
        <VERBATIM>
<![CDATA[
a+[] -->a
a-[] -->a
[]+a -->a
[]-a -->-a
   ]]>
        </VERBATIM>
      </DESCRIPTION_ITEM>
      <DESCRIPTION_ITEM label="Matlab">
        <VERBATIM>
<![CDATA[
a+[] -->[]
a-[] -->[]
[]+a -->[]
[]-a -->[]
   ]]>
        </VERBATIM>
      </DESCRIPTION_ITEM>
    </DESCRIPTION_INDENT>
    <P><VERB> mtlb_mode(%t)</VERB>  switches to Matlab evaluation mode for additions and
    substractions. <VERB> mtlb_mode(%f)</VERB>  switches back to Scilab mode.</P>
    <P><VERB> mtlb_mode()</VERB> return the current mmode' value</P>
  </DESCRIPTION>
  <SEE_ALSO>
    <SEE_ALSO_ITEM>
      <LINK>empty</LINK>
    </SEE_ALSO_ITEM>
  </SEE_ALSO>
</MAN>
