how to active variables in handle function
이전 댓글 표시
Hi, I am using the NAG toolbox for Matlab to do an integration using the d01aj function. The d01aj needs an auxiliar function (in my case, 'auxi'). I need it with some variables that were generated before in the code, how can I have these varibles (x,y,x) available in the auxi function?
[result] = d01aj('auxi',l,u,epsabs,epsrel);%
[result] = auxi(x,y,z)
Is there a way to plug them in a handle function?
채택된 답변
추가 답변 (1개)
Gledson
2011년 11월 4일
0 개 추천
댓글 수: 2
Walter Roberson
2011년 11월 4일
Atch.
In that case, I think you are going to have to use global variables or their kin.
Gledson
2011년 11월 10일
카테고리
도움말 센터 및 File Exchange에서 Blocked Images에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!