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!