what are the reserved words in Matlab 2011b
显示 更早的评论
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?
回答(3 个)
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
2013-4-15
0 个投票
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.
Jason Ross
2013-4-18
0 个投票
This blog entry explains the change
In the comments is a link to a utility which you may find very useful:
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Coder 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!