MATLAB crashes when integration using manager done in a child function and not in the main body

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Shivangi Giri
Posts: 50
Joined: Sun Jul 02, 2017 3:04 am

MATLAB crashes when integration using manager done in a child function and not in the main body

Post by Shivangi Giri » 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

Tags:

POST REPLY