Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
For my GUI, how can I have one button open the file then the other buttons modify that file?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
How would I link the file I open to the other buttons?
0 Kommentare
Antworten (1)
Walter Roberson
am 31 Aug. 2015
handles.file_identifier = fopen('TheDestinationFile', 'w');
guidata(handles);
and then in the other routines, for example:
fprintf(handles.file_identifier, '%s\n', 'hello there we have been waiting for you');
3 Kommentare
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!