Welcome! Log In Create A New Profile

Advanced

Matlab 2025a compatibility with MonkeyLogic

Posted by apersello34 
Matlab 2025a compatibility with MonkeyLogic
June 17, 2025 09:30PM
I installed the newest Matlab release (2025a), but I haven't been able to open MonkeyLogic in it yet. When I try to open it, I get the error:

Dot indexing is not supported for variables of this type.

Error in mglgetcommandwindowrect (line 6)
rect = [mainframe.getX mainframe.getY mainframe.getX+mainframe.getWidth mainframe.getY+mainframe.getHeight];
        ^^^^^^^^^^^^^^
Error in monkeylogic/init_menu (line 2335)
        screen_pos = GetMonitorPosition(mglgetcommandwindowrect);
                                        ^^^^^^^^^^^^^^^^^^^^^^^
Error in monkeylogic/init (line 2312)
        init_menu();
        ^^^^^^^^^^^
Error in monkeylogic (line 43)
init();
^^^^^^

Has anyone had success with getting it to work? It still of course works fine on Matlab 2024, so I could just keep using it on that version if needed.
Re: Matlab 2025a compatibility with MonkeyLogic
June 18, 2025 12:53AM
If you update your NIMH ML to the latest version, you will at least be able to open the menu window. It is not tested though whether everything is functioning properly.

I am aware of the issue and working on it, but the changes related to the UI are huge in the new release and I am busy with other things, so the final solution may take a few months.

This new MATLAB desktop has been beta-tested as an add-on since R2022b, but the previous versions before R2025a will not be supported by NIMH ML. There is no way for me to address all the differences between the versions.

The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.