Index in position 1 exceeds array bounds [Error in gui_layout (line 33)]

This is what I have got in Matlab R2020b:

Index in position 1 exceeds array bounds (must not exceed 1).

Error in gui_layout>GetScreenClientArea (line 237)
MaxWin = [MonitorPositions(i,1) + jInsets.left, ...

Error in gui_layout (line 33)
eval(macro_method);

Error in bst_startup (line 330)
GlobalData.Program.ScreenDef = gui_layout('GetScreenClientArea');

Error in brainstorm (line 138)
bst_startup(BrainstormHomeDir, 1, BrainstormDbDir);

How many screens do you have?
Have you tried changing the options to use multiple screens in the layout options?
https://neuroimage.usc.edu/brainstorm/Tutorials/MultipleWindows

It looks like there is a discrepancy between the number of screens Matlab and Java think there is.
Please execute all the commands below in your Matlab command window, and copy-paste the output of here:

ge = java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment();
tk = java.awt.Toolkit.getDefaultToolkit();
jScreens = ge.getScreenDevices()
for i = 1:length(jScreens)
    jBounds = jScreens(i).getDefaultConfiguration().getBounds()
end

MonitorPositions = get(0, 'MonitorPositions')

iDefaultScreen = 1;
for i = 2:length(jScreens)
    if (jScreens(i) == jDefScreen)
        iDefaultScreen = i;
    end
end
iDefaultScreen