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