Need a means of passing a handle to a function shown to me.
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, I need to pass a "handle" to a function. I then need to use the handle.
Here is the question that describes the code. How do I receive a handle in a function once it is passed to it?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/158967/image.jpeg)
댓글 수: 0
채택된 답변
Walter Roberson
2016년 12월 14일
Example:
function pqd = find_zero(xyz, abc, jlk)
pqd = xyz(abc);
This is not the correct function, but it illustrates invoking the received function handle on a data point.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!