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..
6 ビュー (過去 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!