what are the reserved words in Matlab 2011b
Mostrar comentarios más antiguos
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 comentario
Arvind Pandey
el 18 de Abr. de 2013
Respuestas (3)
Sean de Wolski
el 15 de Abr. de 2013
Editada: Sean de Wolski
el 15 de Abr. de 2013
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
el 15 de Abr. de 2013
0 votos
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 comentario
Arvind Pandey
el 18 de Abr. de 2013
Jason Ross
el 18 de Abr. de 2013
0 votos
This blog entry explains the change
In the comments is a link to a utility which you may find very useful:
Categorías
Más información sobre Scripts en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!