what are the reserved words in Matlab 2011b

조회 수: 11 (최근 30일)
Arvind Pandey
Arvind Pandey 2013년 4월 15일
Is there any command using which we can get the list of reserved words used in Matlab? ex- iskeyword command gives list of some keyword, but there are lots of other reserved words ex- realmin. we want the list of all the reservd words?
  댓글 수: 1
Arvind Pandey
Arvind Pandey 2013년 4월 18일
Actually I need this list to compare the difference in its use in lower version of Matlab ( below 2007) & higher version of Matlab (2011b). I have chosen realmin example, because I found this function was not case sensitive in MATLAB 6.1 or 2006b but in MATLAB 2011b use of uppercase "REALMIN" is not same as ""realmin".

댓글을 달려면 로그인하십시오.

답변 (3개)

Sean de Wolski
Sean de Wolski 2013년 4월 15일
편집: Sean de Wolski 2013년 4월 15일
You can find all of the keywords by opening iskeyword.m
edit iskeyword
As for builtin functions etc. You can test if it is a function or variable by running:
which -all your_name
This will return what everything is for the string your_name

Walter Roberson
Walter Roberson 2013년 4월 15일
realmin is not a reserved keyword: it is a function, and you can create a variable of the same name.
The reserved keywords are the constructs such as "if" that will always be recognized as MATLAB syntax and cannot be assigned a value.
  댓글 수: 1
Arvind Pandey
Arvind Pandey 2013년 4월 18일
Ok, but realmin has some defined value by Matlab which we use in our calculation. I am in need of all those keywords, variables, function which are defined by matlab & we may need to use it some time.

댓글을 달려면 로그인하십시오.


Jason Ross
Jason Ross 2013년 4월 18일

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by