Skip to content

mlrnum2str.m: fix nanmax not exist problem in 2023b or later#66

Open
YvonnaFeng wants to merge 1 commit into
justingardner:masterfrom
YvonnaFeng:master
Open

mlrnum2str.m: fix nanmax not exist problem in 2023b or later#66
YvonnaFeng wants to merge 1 commit into
justingardner:masterfrom
YvonnaFeng:master

Conversation

@YvonnaFeng

Copy link
Copy Markdown

nanmax was removed in MATLAB R2023b. This fix checks whether nanmax
exists and falls back to max(..., 'omitnan') for newer MATLAB versions,
which also maintains backwards compatibility with older versions (eg. 2019b).

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

Successfully merging this pull request may close these issues.

1 participant