Hello !
Is there a model for Opensim 4.0 ? Because I got some trouble when I use the MatLab code. This is because I use OpenSim 4.0 and the API in this version.
So do I need the version 3.0 to run this model or there is another possibility ?
Thanks.
Opensim version 4.0
- Mohammadhossein Akhavanfar
- Posts: 19
- Joined: Mon Oct 16, 2017 9:11 am
Re: Opensim version 4.0
Hello,
This code was written for OpenSim 3.3. I believe it should also work for OpenSim 4, unless many commands have been changed. Would you please explain more about the model and the error you get that I might help you with.
This code was written for OpenSim 3.3. I believe it should also work for OpenSim 4, unless many commands have been changed. Would you please explain more about the model and the error you get that I might help you with.
Error using PKBodyCom
Dear sir,
When I ran Spine code, some errors turned up as follows. (Version MATLAB 2018b ,OpenSim 3.3)
First, it showed "No model was specified (<model_file> element is empty) in the Tool's Set up file" , So I added the "Granata_Trunk.osim" in the madel_file tag (PointKinematicSetup file). Ran again, error reappeared "Error reading end tag". Do I need recode this PointKinematicSetup file or something else? Could you help me? Thank you very much!
When I ran Spine code, some errors turned up as follows. (Version MATLAB 2018b ,OpenSim 3.3)
First, it showed "No model was specified (<model_file> element is empty) in the Tool's Set up file" , So I added the "Granata_Trunk.osim" in the madel_file tag (PointKinematicSetup file). Ran again, error reappeared "Error reading end tag". Do I need recode this PointKinematicSetup file or something else? Could you help me? Thank you very much!
- Mohammadhossein Akhavanfar
- Posts: 19
- Joined: Mon Oct 16, 2017 9:11 am
Re: Opensim version 4.0
Hi,
I just downloaded again and run it and it works. I guess the folder that you put the setup files is not correct or you have not changed the folder names in the main.m code. I just downloaded my codes in my laptop desktop and changed the directories as follows:
As it says % PointKinematicSetup.xml file should be put in the AnalyzeFilePath directory
You don't need to change the Setup file unless you want to filter (e.g. 6hz) your IK data. You can modify the xml file or you can add a line through API to the matlab code.
I just downloaded again and run it and it works. I guess the folder that you put the setup files is not correct or you have not changed the folder names in the main.m code. I just downloaded my codes in my laptop desktop and changed the directories as follows:
As it says % PointKinematicSetup.xml file should be put in the AnalyzeFilePath directory
You don't need to change the Setup file unless you want to filter (e.g. 6hz) your IK data. You can modify the xml file or you can add a line through API to the matlab code.