please someone help with this

回答(2 个)

function callingFunction()
% Your Code
mu = rand;
sigma = rand;
calledFunction()
function calledFunction()
mu = evalin('caller' , 'mu');
sigma = evalin('caller' , 'sigma');
Walter Roberson
Walter Roberson 2014-3-15

0 个投票

Don't do that. Return the two variables from calc_haralick and pass the values in to Bayescalc.

3 个评论

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??
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.
Dear sir, i have mailed you the details in personal. kindly check your mail.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Agriculture 的更多信息

提问:

2014-3-14

评论:

2014-3-15

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by