user interface - Open dialog box for name and file type to be crated MATLAB -


i try create .txt file define name in dialog box when click in button export parameters (gui matlab) can not. can create new file names defined, see in 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)'] simple matrix

i need dialog box before saving nem file

tks

please read documentation of uiputfile


Comments