Hi,
I am running the tutorial based on https://simtk.org/projects/spine_ribcage.
Use MATLAB API for running static optimization. it shows 'No constructor 'org.opensim.modeling.ExternalLoads' with matching signature found.'
No constructor 'org.opensim.modeling.ExternalLoads' with matching signature found.
Error in Do_StatOpAnalysis (line 12)
ExtLoads = ExternalLoads(model,[FileDirectory 'extForces_Setup.xml']);
Error in Header_OpenSim (line 58)
Do_StatOpAnalysis(modelpath,motionpath,extloadpath,resultpath,FileDirectory)
Does anyone know how to solve this?
Thank you in advance!
No constructor 'org.opensim.modeling.ExternalLoads' with matching signature found.
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: No constructor 'org.opensim.modeling.ExternalLoads' with matching signature found.
It looks like the code is calling a constructor for ExternalLoads that passes in a model as the first argument. No such constructor exists in OpenSim 4.3 (see https://simtk.org/api_docs/opensim/api_ ... Loads.html). Perhaps the tutorial was built using an older version of OpenSim? For example, a constructor with that signature did exist in OpenSim 3.3 (see https://simtk.org/api_docs/opensim/api_ ... Loads.html).