フィルターのクリア

How to save a Cell array as excel file and give it a name

2 ビュー (過去 30 日間)
Hello kity
Hello kity 2013 年 1 月 4 日
Hi,
I have a cell array, containing strings and numeric values.
I would like to save that as xls file, and give the user the option to choose the name.
I thought of these but dont know how exactly:
%program name code
xlswrite(Name,DATA);
or you should be able to do it with uiputfile, but how can i determine the input (DATA).
[FileName,PathName] = uiputfile('*.xls','Save file','C:\Work.xls');

採用された回答

Walter Roberson
Walter Roberson 2013 年 1 月 4 日
[FileName,PathName] = uiputfile('*.xls','Save file','C:\Work.xls');
fname = fullfile(PathName, FileName);
xlswrite(fname, TheNameOfYourCellArrayGoesHere)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by