model.initSystem() OpenSim4.4 causes Matlab to crash

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Ian Loram
Posts: 1
Joined: Thu Sep 11, 2008 2:19 pm

model.initSystem() OpenSim4.4 causes Matlab to crash

Post by Ian Loram » Wed Dec 14, 2022 7:48 am

Hi,

I have set Matlab to run with OpenSim 4.4 e.g.
>> org.opensim.modeling.opensimCommon.GetVersion()
ans =
4.4-2022-07-23-0e9fedc

When I run the example scripts, I find that the command "state = model.initSystem();" causes Matlab to crash.
For example at line 99in "build_and_simulate_simple_arm.m" from ...\OpenSim\4.4\Code\Matlab

I have tested two versions on Matlab 2020a and 2022b on this PC.
I have tested Matlab 2020a on another PC.
I have tested the model.initSystem command in other example scripts.

Please can someone help?
Is there any more information I can send.

With many thanks
Ian

Tags:

POST REPLY