how do i save multiple subimages in a subplot seperately into a file??

3 ビュー (過去 30 日間)
Varun  K N
Varun K N 2017 年 6 月 9 日
コメント済み: Stephen23 2017 年 6 月 9 日
I have detected and cropped multiple images and displaying it in a subplot.Now I want to save these subplots separately into a file.Also put the code if possible. thank you
  2 件のコメント
KSSV
KSSV 2017 年 6 月 9 日
don't plot them in subplot, plot them in figure and save..
Stephen23
Stephen23 2017 年 6 月 9 日
How to read multiple files is explained extensively in the documentation, on this forum, and in the wiki:
etc
The first thing to decide is if you want to generate the file names, or if you want to read the names of existing files:
  • generate names: use sprintf and fullfile.
  • read names: use dir and fullfile.
You can also find some examples with my FEX submission natsortfiles:
And as KSSV has already said, simply use one figure and replace the image data on each loop iteration. Then saving is easy.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by