Search found 12 matches

by Romain LEBERRE
Thu Apr 11, 2013 10:37 am
Forum: OpenSim
Topic: MomentArms of External Forces in Matlab
Replies: 0
Views: 707

MomentArms of External Forces in Matlab

Hi, I am performing a static analysis of a 6DOF tibiofemoral joint with ligaments and articular contact model subject to external forces using the ForwardTool. I run the simulation and postprocess the results through API in Matlab. Actually, I'd like to estimate the individual contribution of all fo...
by Romain LEBERRE
Tue Feb 19, 2013 5:07 am
Forum: OpenSim
Topic: Plugin load in Matlab
Replies: 8
Views: 12345

Re: Plugin load in Matlab

Thanks Ayman
by Romain LEBERRE
Tue Feb 12, 2013 10:04 am
Forum: OpenSim
Topic: Plugin load in Matlab
Replies: 8
Views: 12345

Plugin load in Matlab

Hi,

I am using a force defined by a plugin and I would like to load a model containing this force in Matlab.
Is-there any way to load the specified plugin library in Matlab?

Thanks for your help

Regards,

Romain
by Romain LEBERRE
Fri Feb 01, 2013 9:41 am
Forum: OpenSim
Topic: Force subclasses not available through Matlab API
Replies: 2
Views: 767

Re: Force subclasses not available through Matlab API

Hi Ayman, Indeed, in the release 3.0.1, contact force classes such as ElasticFoundationForce and HuntCrossleyForce are exposed to the Matlab interface. However, ContactParameters objects are defined in SWIG type so i cannot manage to tune these properties from Matlab. Do you know how could I figure ...
by Romain LEBERRE
Wed Jan 23, 2013 5:21 am
Forum: OpenSim
Topic: Force subclasses not available through Matlab API
Replies: 2
Views: 767

Force subclasses not available through Matlab API

Hi, I want to add some contact forces to my model through OpenSim API in Matlab. However, it seems that some child classes of Force (e.g. BushingForce, ElasticFoundationForce, HuntCrossleyForce) are not imported with the modeling module (import org.opensim.modeling.*). Any idea about how to add this...
by Romain LEBERRE
Fri Nov 09, 2012 4:10 pm
Forum: OpenSim
Topic: Ligament moment arm in Matlab API
Replies: 2
Views: 969

Re: Ligament moment arm in Matlab API

It works now. Thanks Ayman.
by Romain LEBERRE
Thu Nov 08, 2012 9:28 am
Forum: OpenSim
Topic: Ligament moment arm in Matlab API
Replies: 2
Views: 969

Ligament moment arm in Matlab API

Hi, I want to estimate some knee ligaments properties through an optimization process using API in Matlab. First, I need to obtain the knee ligaments moment arms using the "ComputeMomentArm" method in the "Ligament" class. My code to get the moment arms in the default pose is: myModel = Model('myMod...
by Romain LEBERRE
Thu Oct 11, 2012 9:03 am
Forum: OpenSim
Topic: Using import org.opensim.modeling.*
Replies: 9
Views: 3458

Re: Using import org.opensim.modeling.*

Hi, I had a similar problem with version 2.4.0. I realized that I was using Matlab 64 bits while OpenSim was a 32 bits version. Now it works fine with Matlab 32 bits. Also make sure that you have set up Matlab to access the Java wrapper to Opensim. It is well explained in the readme I enclosed given...
by Romain LEBERRE
Mon May 14, 2012 8:10 am
Forum: OpenSim
Topic: Functional parameters optimization with IK
Replies: 3
Views: 680

Functional parameters optimization with IK

Hi, Does anybody knows if it exists an OpenSim plugin that allows an optimization of functional parameters along with IK. This method was described by Jeff Reinbolt (Determination of patient-specific functional axes through two-level optimization,2005). I suppose this is a very straightforward way t...
by Romain LEBERRE
Mon Apr 30, 2012 9:12 am
Forum: OpenSim
Topic: outputting controls to sto files
Replies: 2
Views: 649

Re: outputting controls to sto files

Hi, I'm new to c++ and even opensim and I am actually practicing with API examples. I am trying to output controls to a "controls.sto" file. It worked perfectly for the MainExample using osimModel.printControlStorage() after integration, but using the same method within the Arm26Optimization example...