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..
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
% 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 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Ilham Hardy
am 11 Jul. 2013
In pushbutton callback:
open('C:\matlabcodes folder\readme.txt')
HTH, IH
0 Kommentare
Siehe auch
Kategorien
Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!