I'm encountering this error on Matlab R2020b:
f = figure;
t = tiledlayout(f, 'flow');
cb = colorbar;
cb.Layout.Tile = 'East'
So far, everthing works great. The colorbar belongs to the second axes but it is on the right side of the entire tiledlayout and it looks how it is supposed to. But when I now try to alter the first axes with
I get this error message
"Operands to the || and && operators must be convertible to logical scalar values.
Error in nexttile"
Does anyone have a clue what's going on there?