Is there a Way to Determine Which Function Will be Called Without Actually Calling the Function ?
이전 댓글 표시
Suppose there is a function myfunc that has many instantiations on the path because of overloading. Is there a way to determine which instantion will be called based on the form of the function call without actually calling the function? For example, supppose I have x and y in my workspace. Is there something like this:
which myfunc(x,y)
that returns the full path to the myfunc that would be executed, but doesn't actually call myfunc?
채택된 답변
추가 답변 (1개)
Image Analyst
2020년 9월 7일
Use
which -all myfunc
Also, try running the attached script.
카테고리
도움말 센터 및 File Exchange에서 Time Series Objects에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!