How to paste plots into Excel in a for loop?

My code is attached. I want to be able to paste saved plots into Excel, and into a single Excel file, and not multiple Excel files. I want to be able to do this in a for loop, but when I run this code, the outputted Excel file only contains the 2nd plot and does not print out any of the information in the for loop when i=1. How can I get this to work properly?

回答 (0 件)

質問済み:

2018 年 5 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by