Page 1 of 1

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
by shivangi2208
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