Need list of all not recommended keywords
조회 수: 4 (최근 30일)
이전 댓글 표시
Where can i get all not recommended keywords in R2019b. Could you guys Please tell me as soon as possible.
댓글 수: 3
Guillaume
2019년 10월 17일
편집: Walter Roberson
2019년 12월 5일
Some context for the question would be welcome. For a start it's not even clear what is meant by keword. For what matlab considers to be a keyword, see Ekemini's answer.
Walter Roberson
2019년 12월 5일
Using the names of any of the functions in basic MATLAB is also not recommended. For example avoid using sum as the name of a variable.
A few days ago we saw someone use ones as the name of a variable, and then got confused over why their calls to the function ones were not working.
답변 (3개)
Ekemini Stephen
2019년 10월 17일
To obtain a list of all MATLAB keywords, use 'iskeyword' command and the results are shown below. 'break' 'case' 'catch' 'classdef' 'continue' 'else' 'elseif' 'end' 'for' 'function' 'global' 'if' 'otherwise' 'parfor' 'persistent' 'return' 'spmd' 'switch' 'try' 'while'
댓글 수: 0
shanjmuka sri ranganadham
2020년 11월 11일
hlo
can you say the keywords used in matlab
댓글 수: 1
Walter Roberson
2020년 11월 11일
{'break' }
{'case' }
{'catch' }
{'classdef' }
{'continue' }
{'else' }
{'elseif' }
{'end' }
{'for' }
{'function' }
{'global' }
{'if' }
{'otherwise' }
{'parfor' }
{'persistent'}
{'return' }
{'spmd' }
{'switch' }
{'try'
참고 항목
카테고리
Help Center 및 File Exchange에서 Whos에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!