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

BREAKING: Check MATLAB exceptions #237

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tqml
Copy link
Collaborator

@tqml tqml commented Feb 20, 2025

Implements an additional check if an Exception within MATLAB has occurred. This is done by checking the MException.last variable in MATLAB. If the identifier is not an empty string, an MatlabException is thrown.

Checks can be disabled by calling disable_exception_check!(session) (where if no session is provided, the default is used).

This is a breaking change, because errors that would have gone unnoticed previouly would now raise an exception.

Closes #157

@tqml tqml requested a review from musm February 20, 2025 10:12
@tqml tqml changed the title Check MATLAB exceptions BREAKING: Check MATLAB exceptions Feb 21, 2025
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.

Propagating exceptions from MATLAB to Julia
1 participant