how to cal a function from another function in matlab gui????

조회 수: 3 (최근 30일)
partha das
partha das 2011년 6월 24일
I am trying to write a program in matlab gui. I want to call a function while i am in a function how can i call that function please reply me. thank you in advance
  댓글 수: 2
Krishna Kumar
Krishna Kumar 2011년 6월 24일
do you mean calling function x() inside itself. or calling it within some function y(). Please reframe your Question clearly.
partha das
partha das 2011년 6월 24일
calling function with in a function. and also need the value which returned by the call function to the main function. who can i get the returned function. please inform me. thank you in advance.

댓글을 달려면 로그인하십시오.

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2011년 6월 24일
Any time you want to call the function, you just type that function name with the right input and output arguments, right. Even in the code developed with GUIDE, every callback function still has function name with input arguments. The name may sound strange but you can still call that function.
  댓글 수: 1
partha das
partha das 2011년 6월 24일
calling function with in a function. and also need the value which returned by the call function to the main function. who can i get the returned function. please inform me. thank you in advance.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by