In Matlab output of a called function cannot be given as input to another called function?
이전 댓글 표시
Please refer to the above images.
The main file calls the input_val function and prints the output values. The matrix_vor function uses one of these values to find value of a array. But it shows the error of output not being defined.
I then removed the input function (i.e. first 4 lines of second image) and directly defined value of m just before calling the matrix_vor function. I am getting the output.
Can I imply that the output of first function (i.e. input_val) cannot be passed on as input for second function(i.e. matrix_vor)
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Desktop에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!