Reputation: 21
I try create a .txt file with define name in dialog box when click in button Export Parameters (gui Matlab) but can not. Only can create new file with names already defined, as we see in the following code.
function export_par_Callback(hObject, eventdata, handles)
f=handles.f;
d=handles.d;
gamma=handles.gamma;
dlmwrite('PARAMETERS.txt', [f',gamma',abs(d)',imag(d)'], 'delimiter', '\t','newline','pc')
[f',gamma',abs(d)',imag(d)'] is a simple matrix
I only need the dialog box before saving nem file
Upvotes: 0
Views: 457