In GUI, I have a push button. I want that when this push button is pressed a text file which created before opens automatically without choosing a file..
    조회 수: 8 (최근 30일)
  
       이전 댓글 표시
    
% I have a textfile which name is readme.txt Its directory: C//matlabcodes folder
%In GUI, I also have a push button. When I press this push button, I want to open "readme.txt" automatically.
thanks in advance
댓글 수: 0
채택된 답변
추가 답변 (1개)
  Ilham Hardy
      
 2013년 7월 11일
        In pushbutton callback:
open('C:\matlabcodes folder\readme.txt')
HTH, IH
댓글 수: 0
참고 항목
카테고리
				Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



