Brainstorm Run Execution Issue

Dear Brainstrom Teams,

Hello,
I recently updated to Version: 29-Nov-2023, and I'm encountering the following error when I try to run it. Can you help me resolve this issue?
I am currently using Matlab2023b.

===================================================================
BST> Starting Brainstorm:
BST> =================================
BST> Version: 29-Nov-2023
BST> Compiling main interface files...
BST> Deleting old process reports...
BST> Loading configuration file...
BST> Checking internet connectivity... ok
BST> Initializing user interface...
BST> WARNING: Mutex "Brainstorm" already exists.
BST> Starting OpenGL engine... hardware
BST> Loading plugins... Error occurred while using: dir
Invalid path. The path must not contain null characters.

Error occurred: file_exist (line 34)
elseif isempty(dir(filename))

Error occurred: bst_plugin>GetLogoFile (line 1206)
if file_exist(PlugDesc.LogoFile)

Error occurred: bst_plugin>Load (line 1934)
LogoFile = GetLogoFile(PlugDesc);

Error occurred: bst_plugin (line 110)
eval(macro_method);

Error occurred: bst_startup (line 446)
bst_plugin('Load', InstPlugs(iPlug), 0);

Error occurred: brainstorm (line 123)
bst_startup(BrainstormHomeDir, 1, BrainstormDbDir);

=================================================================

Thanks,

Yoon

It seems it is related to path where the plugins are.
After getting the error, run these lines in Matlab, and paste the result in this post

% Get list of Plugins that are installed
InstPlugs = bst_plugin('GetInstalled');
% For the Installed Plugins that are Loaded at the Startup, print the Path of their logos
{InstPlugs(logical([InstPlugs.AutoLoad])).LogoFile}

Dear Raymundo,

Thank you for your prompt advice. However, even after implementing the suggested changes, the problem persists.

===================================================================
BST> Starting Brainstorm:
BST> =================================
BST> Version: 03-Dec-2023
BST> Compiling main interface files...
BST> Deleting old process reports...
BST> Loading configuration file...
BST> Checking internet connectivity... ok
BST> Initializing user interface...
BST> WARNING: Mutex "Brainstorm" already exists.
BST> Starting OpenGL engine... hardware
BST> Loading plugins... Error occurred while using: dir
Invalid path. The path must not contain null characters.

Error occurred: file_exist (line 34)
elseif isempty(dir(filename))

Error occurred: bst_plugin>GetLogoFile (line 1206)
if file_exist(PlugDesc.LogoFile)

Error occurred: bst_plugin>Load (line 1934)
LogoFile = GetLogoFile(PlugDesc);

Error occurred: bst_plugin (line 110)
eval(macro_method);

Error occurred: bst_startup (line 446)
bst_plugin('Load', InstPlugs(iPlug), 0);

Error occurred: brainstorm (line 123)
bst_startup(BrainstormHomeDir, 1, BrainstormDbDir);

=================================================================

Upon further inspection, I've found that the 2023b version still does not execute properly. In contrast, the 2022a version runs smoothly.

For the time being, I plan to continue using the 2022a version. It would be great if, in the future, I could run it on the 2023b version.

Thank you.

Yoon

Glad to hear it is running well on 2022a.

What was printed in the Matlab Command Window after running the lines from this response?