Skip to content

[BUG]: The error message when starting Homer3 is in Matlab R2025a #213

@SheenHao8023

Description

@SheenHao8023

Version of Homer3 you are using

Homer3 v1.87.0, the latest

Your environment (MATLAB environment and OS)

MATLAB R2025a; Windows 11 64-bit

Description of the issue

There are two bugs occurred when running Homer3 in the command line. The error location is in \Utils\Shared\Logger.m

1st

Homer3
Error in [fopen] The 'all' option will be removed in a future release. For a list of all open file identifiers, use the openedFiles function instead.
Error in [Logger] (line 43) fds = fopen('all');
Error in [Homer3] (line 35) logger = Logger('Homer3');

2nd, reported by Homer3 itself

Homer3
ERROR: Colon operands must be real scalars.
Current Folder : ...
Call stack:
Error in Logger.m > Logger.CurrTime (line 237)
Error in MainGUI.m > MainGUI_OpeningFcn (line 220)
Error in gui_mainfcn.m > gui_mainfcn (line 220)
Error in MainGUI.m > MainGUI (line 19)
Error in Homer3.m > Homer3 (line 58)

Try to fix the code (Logger.m)

For the first bug, fds = fopen('all'); --> fds = openedFiles;
For the second bug(at CurrTime func), i = find(msg == ':'); --> i = find(msg == ':', 1);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions