does i need to set a cal back for result(static text) for the calculator?
    조회 수: 2 (최근 30일)
  
       이전 댓글 표시
    
I have created a sipmle calculator gui and added call back for the 4 operators +,-,*,/.but when i tried to run the gui it is allowing me to enter the input numbers but the output in the result box is not displayed.what should i do inorder to see my ans..do i need to set up any call back functions for result in gui?????please help me
댓글 수: 0
채택된 답변
  David Sanchez
      
 2013년 7월 9일
        I guess you included a " = " button, didn't you? ON the callback function of the " = " button, set the result box string to the value of the result:
set(handles.result_box_tag,'string',num2str(final_result));
It should work
추가 답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!