I actually found the solution for this. just using the function handle inside the body of the function.
Passing function with parameters to another function
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi,
I am trying to create a function that accepts another function with its own parameters e.g. Func1(@(x)Func2(x,para1,para2,...etc)) Is this possible in Matlab? If yes, how?
댓글 수: 2
답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!