MATLAB crashes when integration using manager done in a child function and not in the main body
Posted: Sun Dec 25, 2022 6:06 am
Hello,
I am passing the current state of the model into a function to get updated after integration using the Manager. However when I get the updated state being called in the consecutive part of the main code, MATLAB crashes.
Should I create a handle to the state before passing it into a child function?
Regards,
Shivangi
I am passing the current state of the model into a function to get updated after integration using the Manager. However when I get the updated state being called in the consecutive part of the main code, MATLAB crashes.
Should I create a handle to the state before passing it into a child function?
Regards,
Shivangi