evalin('caller','mfilename') does not work.
이전 댓글 표시
채택된 답변
추가 답변 (1개)
Walter Roberson
2019년 5월 13일
0 개 추천
"evalin('caller', expression) finds only variables in the caller's workspace; it does not find functions in the caller. For this reason, you cannot use evalin to construct a handle to a function that is defined in the caller."
If I recall correctly mfilename is implemented by defining a function in each file.
카테고리
도움말 센터 및 File Exchange에서 Whos에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!