Products & Services Industries Academia Support User Community Company

Learn more about MATLAB   

Keywords

The MATLAB software reserves certain words for its own use as keywords of the language. To list the keywords, type

iskeyword
ans = 
    'break'
    'case'
    'catch'
       .
       .
       .

See the online function reference pages to learn how to use these keywords.

You should not use MATLAB keywords other than for their intended purpose. For example, a keyword should not be used as follows:

while = 5;
??? while = 5;
          |
Error: Expected a variable, function, or constant, found "=".
  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS