please someone help with this

답변 (2개)

Dishant Arora
Dishant Arora 2014년 3월 14일

0 개 추천

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

Dishant Arora
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
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
yuvashree 2014년 3월 15일
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