Closing plots when training neural networks

I am training neural networks in a loop and each loop a figure opens up showing loss, rmse, and similar data. I want to keep this figure and keep this figure open for the neural network beign trained, but close it when the next network is being trained. I tried many clear functions to no avail that work in other loops, so please only answer if you have specifically tried this for neural network.
Thank you very much.

1 Comment

Matt J
Matt J on 17 Apr 2025
Edited: Matt J on 17 Apr 2025
You show no code for how you are training or generating the plots, so we cannot know what problem you are encountering.

Sign in to comment.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products

Release

R2023b

Asked:

on 15 Apr 2025

Commented:

on 8 Jul 2025

Community Treasure Hunt

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

Start Hunting!