please someone help with this
2 次查看(过去 30 天)
显示 更早的评论
how to give the value of mu and sigma from calc haralick to bayes
0 个评论
回答(2 个)
Dishant Arora
2014-3-14
function callingFunction()
% Your Code
mu = rand;
sigma = rand;
calledFunction()
function calledFunction()
mu = evalin('caller' , 'mu');
sigma = evalin('caller' , 'sigma');
0 个评论
Walter Roberson
2014-3-15
Don't do that. Return the two variables from calc_haralick and pass the values in to Bayescalc.
Or use one of the techniques shown in http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.3F
3 个评论
Walter Roberson
2014-3-15
It appears to me that at least one of the routines was provided for the user and that the user is having difficulty with the rest.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!