<?xml version="1.02" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Matlab M-File" version="1.02" kateversion="2.1" section="Sources" extensions="*.m;*.M" mimetype="text/mfile">
  <highlighting>
    <list name="keywords">
      <item> break </item>
      <item> end </item>
      <item> case </item>
      <item> continue </item>
      <item> do </item>
      <item> else </item>
      <item> elseif </item>
      <item> for </item>
      <item> goto </item>
      <item> if </item>
      <item> return </item>
      <item> struct </item>
      <item> switch </item>
      <item> while </item>
      <item> function </item>
      <item> otherwise </item>
      <item> try </item>
      <item> catch </item>
    </list>
    <list name="types">
      <item> global </item>
      <item> persistent </item>
      <item> double </item>
    </list>
    <list name="commands">
      <item> filter </item>
      <item> disp </item>
      <item> sprintf </item>
      <item> fprintf </item>
      <item> freqz </item>
      <item> title </item>
      <item> figure </item>
      <item> set </item>
      <item> get </item>
      <item> fft </item>
      <item> zplane </item>
      <item> abs </item>
      <item> real </item>
      <item> imag </item>
      <item> angle </item>
      <item> waitforbuttonpress </item>
      <item> stem </item>
      <item> plot </item>
      <item> subplot </item>
      <item> scatter </item>
      <item> stairs </item>
      <item> impz </item>
      <item> mesh </item>
      <item> zoom </item>
      <item> semilogx </item>
      <item> semilogy </item>
      <item> bar </item>
      <item> grid </item>
      <item> linspace </item>
      <item> size </item>
      <item> length </item>
      <item> load </item>
      <item> save </item>
      <item> open </item>
      <item> close </item>
    </list>
    <contexts>
      <context attribute="Normal Text" lineEndContext="#stay">
        <keyword attribute="Keyword" context="#stay" String="keywords"/>
        <keyword attribute="Data Type" context="#stay" String="types"/>
        <keyword attribute="Command" context="#stay" String="commands"/>
        <Float attribute="Float" context="#stay">
          <AnyChar String="fF" attribute="Float" context="#stay"/>
        </Float>
        <HlCOct attribute="Float" context="#stay"/>
        <HlCHex attribute="Float" context="#stay"/>
        <Int attribute="Decimal" context="#stay" >
          <StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/>
          <StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/>
          <StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="TRUE"/>
          <StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="TRUE"/>
          <StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="TRUE"/>
          <StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="TRUE"/>
          <StringDetect attribute="Decimal" context="#stay" String="U" insensitive="TRUE"/>
          <StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/>
        </Int>
        <HlCChar attribute="Char" context="#stay"/>
        <DetectChar attribute="String" context="String" char="&apos;"/>
        <DetectChar attribute="String Char" context="String" char="&apos;"/>
        <Detect2Chars attribute="Comment" context="Comment" char="%" char1="%"/>
        <Detect2Chars attribute="Comment" context="Comment" char="%" char1=" "/>
      </context>
      <context attribute="String" lineEndContext="#pop" name="String">
        <LineContinue attribute="String" context="#stay"/>
        <HlCStringChar attribute="String Char" context="#stay"/>
        <DetectChar attribute="String" context="#pop" char="&apos;"/>
      </context>
      <context attribute="Comment" lineEndContext="#pop" name="Comment"/>
    </contexts>
    <itemDatas>
      <itemData name="Normal Text" defStyleNum="dsNormal"/>
      <itemData name="Keyword"  defStyleNum="dsKeyword" color="#1414e4" selColor="#ffd60b"/>
      <itemData name="Data Type"  defStyleNum="dsDataType"/>
      <itemData name="Decimal"  defStyleNum="dsDecVal" color="#000000" selColor="#ffffff"/>
      <itemData name="Octal"  defStyleNum="dsBaseN"/>
      <itemData name="Hex"  defStyleNum="dsBaseN"/>
      <itemData name="Float"  defStyleNum="dsFloat"/>
      <itemData name="Char"  defStyleNum="dsChar"/>
      <itemData name="String"  defStyleNum="dsString" color="#ff0000" selColor="#ff0000"/>
      <itemData name="String Char"  defStyleNum="dsChar" color="#ff0000" selColor="#ff0000"/>
      <itemData name="Comment"  defStyleNum="dsComment" color="#2b7805" selColor="#945ca4"/>
      <itemData name="Command"  defStyleNum="dsCommand" color="#000000" selColor="#ffffff" bold="1"/>
    </itemDatas>
  </highlighting>
  <general>
    <comments>
      <comment name="singleLine" start="% " />
      <comment name="singleLine" start="%%" />
    </comments>
    <keywords casesensitive="1" />
  </general>
</language>
<!-- Additional commands can easily be added in the above 'commands' section -->
