Info
この質問は閉じられています。 編集または回答するには再度開いてください。
For my GUI, how can I have one button open the file then the other buttons modify that file?
1 回表示 (過去 30 日間)
古いコメントを表示
How would I link the file I open to the other buttons?
0 件のコメント
回答 (1 件)
Walter Roberson
2015 年 8 月 31 日
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 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!