Is there a way to export data with a user interface like there is for importing data with uiimport?

1 次查看(过去 30 天)
Is there a way to export data with a user interface like there is for importing data with uiimport?

回答(1 个)

Scott
Scott 2012-4-24
Never mind I found it. "uiputfile" For those Interested you can use uiputfile to open a dialog box to set a path and filename for a file to be saved to. Here is what I used:
%Open dialog box
[FileName,PathName] = uiputfile;
%After navigating to the directory I wa looking for, I assign the %file name for saving as:
fname = fullfile(PathName,FileName);
%After the above I happen to write the data to an Excel file which I created and saved as fname.

类别

Help CenterFile Exchange 中查找有关 Data Import from MATLAB 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by