2021b Tiled Layout keeps its title

If I run the following code in a live script multiple times (by pressing F5 or Ctrl + Enter), it shows a figure with overlapped titles on tile.
It happens after 3rd execution and continues. It wasn't like this in 2021a.
clear;
figure;
tile = tiledlayout('flow');
title(tile,'figure1');
nexttile;
plot(1,1,'o');
figure;
tile = tiledlayout('flow');
title(tile,'figure2');
nexttile;
plot(1,1,'o')
A bug? How can it be solved?

Answers (1)

Please report this here.

3 Comments

Following back up that this appears to be fixed in R2021b Update 3. The update showed up for me today, and upon updating, I am no longer able to reproduce this issue.
Heekwon No
Heekwon No on 23 Feb 2022
Edited: Heekwon No on 23 Feb 2022
The R2021b update 3 is still not showing up for me so far neither be available to install whole Matlab SW.
It is likely on a phased rollout. It will come. When you see a red dot on the notification bell (top right of MATLAB), that will indicate there is an update available.

Sign in to comment.

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Products

Release

R2021b

Asked:

on 7 Oct 2021

Commented:

on 23 Feb 2022

Community Treasure Hunt

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

Start Hunting!