Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
For my GUI, how can I have one button open the file then the other buttons modify that file?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
How would I link the file I open to the other buttons?
0 comentarios
Respuestas (1)
Walter Roberson
el 31 de Ag. de 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 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!