既存のExcelファ​イルに数値を書き込み​、新規保存(名前をつ​けて保存)する方法

17 views (last 30 days)
Yuuki Kobayashi
Yuuki Kobayashi on 6 Sep 2022
Answered: Hernia Baby on 6 Sep 2022
既存のExcelファイルに数値を書き込み、「上書き保存」ではなく、「名前をつけて保存」したいです。
writetableを使ってできないか調べていますが、上書き保存しか見つかりませんでした。
Excelで作成したグラフの数値だけ変えて新規保存したいので分かる方がいれば教えて頂きたいです。
よろしくお願いします。

Accepted Answer

Hernia Baby
Hernia Baby on 6 Sep 2022
オプション:filenameをご参照ください。
以下のようにすると保存できます。コピペでお試しください。
x = array2table(randi(10,20));
writetable(x,"Test.xlsx")

More Answers (0)

Categories

Find more on Data Import from MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!