Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2020a: Undefined function 'readdir' #8

Closed
alhirzel opened this issue Jul 27, 2022 · 2 comments
Closed

2020a: Undefined function 'readdir' #8

alhirzel opened this issue Jul 27, 2022 · 2 comments

Comments

@alhirzel
Copy link

I don't know if this is related to #7, but I believe SLF4M is broken in MATLAB 2020a. I just upgraded from 2018b and now when I execute

logger.info('test')

I receive

Error using logger.internal.LibraryInitializer.initLibrary (line 46)
Invalid default value for property 'initializer' in class 'logger.Logger':
Undefined function 'readdir' for input arguments of type 'char'.

Error in logger.internal.LibraryInitializer (line 12)
      logger.internal.LibraryInitializer.initLibrary;

Error in loggerCallImpl (line 42)
loggerObj = logger.Logger.getLogger(callerId);

Error in logger.info (line 14)
loggerCallImpl('info', msg, varargin);
@alhirzel
Copy link
Author

Nevermind, I'm an idiot, just saw f80e15c :)

@apjanke
Copy link
Member

apjanke commented Jul 28, 2022

Yep, I think that fixes R2020a.

SLF4M is still totally busted in R2021a and later (see here: #7), because Java logging stuff. Still trying to work that out. Sorry there. Fix soon, I think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants