필터 지우기
필터 지우기

Calling Variables

조회 수: 1 (최근 30일)
skyimager
skyimager 2012년 6월 3일
I am defining variable 's' in one function of my gui. Now i want to use "s" in another function of my same gui. How can i do that?
  댓글 수: 2
Walter Roberson
Walter Roberson 2012년 6월 3일
Is your question about fprintf() the same question as this one?
http://www.mathworks.com/matlabcentral/answers/40166-problem-with-fprintf
skyimager
skyimager 2012년 6월 3일
No sir. That problem is different. This problem is solved. By declaring the variable as global in BOTH the functions i can use it.
But the problem with fprintf still remains.

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

답변 (1개)

Walter Roberson
Walter Roberson 2012년 6월 3일

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by