please someone help with this
古いコメントを表示
how to give the value of mu and sigma from calc haralick to bayes
回答 (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');
Walter Roberson
2014 年 3 月 15 日
0 投票
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 件のコメント
Dishant Arora
2014 年 3 月 15 日
編集済み: Dishant Arora
2014 年 3 月 15 日
If only she wrote those attached function she must be knowing how to handle function with arguments and pass them, probably she doesn't want to have function with arguments and why evalin shouldn't be used??
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.
yuvashree
2014 年 3 月 15 日
カテゴリ
ヘルプ センター および File Exchange で Agriculture についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!