Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Function calling problem
조회 수: 1 (최근 30일)
이전 댓글 표시
i am trying to call a function from another function. the function i am trying to call is named alignment_ladder_arson. the code i used to call the alignment_ladder_arson function is:
alignment_ladder_arson( directory, answer(1), answer(2))
where directory is a string and answer is 2 by 1 vector.
the following is the first line of the alignment_ladder_arson function:
function [outputdir]= alignment_ladder_arson (inputdatadir, highthresh, lowthresh )
can anyone see what is wrong? because the code doesnt run, the error message says that directory and lowthresh/highthres is undefined, but it is clearly defined in the function that i am calling from. Thanks
댓글 수: 1
per isakson
2011년 9월 7일
The code you describe is correct - as I read your description. However, the code you test with Matlab is not. Please edit your question and the include the code (use Markup), which causes the error - and the error message.
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!