Where can I find which "common functions" symvar identify?
조회 수: 4 (최근 30일)
이전 댓글 표시
The Description of symvar says: symvar 'expr' searches the expression, expr, for identifiers other than i, j, pi, inf, nan, eps, and common functions. symvar displays those variables that it finds or, if no such variable exists, displays an empty cell array, {}.
Where can I find which "common functions" symvar identify?
댓글 수: 0
채택된 답변
Paulo Silva
2011년 6월 7일
edit symvar
Look at the comment inside the symvar.m that says:
Find opening parentheses and check to make sure they don't trail a variable. If one does, it is a treated as a function name and removed from b and e.
댓글 수: 2
Walter Roberson
2011년 6월 7일
Does that mean that it eliminates variables that have been indexed, if the user used '()' indexing?
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!