Hi Moco Team,
I have been using Moco's Maltab interface. Suddenly, when I am loading models, DGF muscle is not being recognized. I got the following warning.
encountered unrecognized Object typename SmoothSphereHalfSpaceForce while reading property components. There is no registered Object of this type; ignoring.
Also for DGF Muscle.
I don't have any other versions of opensim installed on this computer. I downloaded the latest release and added it to system path and edited the old one. I ran configureMoco in Matlab . But still I get the same warning. I could try reinstalling matlab but I wish to avoid it.
What could be the reason for this?
Thanks & Regards,
Karthick.
Encountered unrecognized object
- Christopher Dembia
- Posts: 506
- Joined: Fri Oct 12, 2012 4:09 pm
Re: Encountered unrecognized object
What do you get if you run the command org.opensim.modeling.opensimMoco.GetMocoVersionAndDate()?
- Karthick Ganesan
- Posts: 119
- Joined: Thu Oct 10, 2013 12:11 am
Re: Encountered unrecognized object
version 0.3.0, build date 19:32:51 Jan 23 2020
- Christopher Dembia
- Posts: 506
- Joined: Fri Oct 12, 2012 4:09 pm
Re: Encountered unrecognized object
Can you add the line `MocoStudy()` before you load the model file?
- Karthick Ganesan
- Posts: 119
- Joined: Thu Oct 10, 2013 12:11 am
Re: Encountered unrecognized object
Thanks. It works. Why is it so?
- Christopher Dembia
- Posts: 506
- Joined: Fri Oct 12, 2012 4:09 pm
Re: Encountered unrecognized object
The Matlab library is split among multiple libraries. The osimMoco library contains those model components but it's only loaded if you've invoked a function in the osimMoco library.
- Karthick Ganesan
- Posts: 119
- Joined: Thu Oct 10, 2013 12:11 am
Re: Encountered unrecognized object
Oh. Thank you.