Input Forces

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Xiang Yang
Posts: 4
Joined: Mon Oct 10, 2016 8:58 pm

Input Forces

Post by Xiang Yang » Wed Jan 18, 2017 1:24 pm

Hi,

I'm trying to add a force that created by a specific muscle "string" to my model by MATLAB code (or maybe C++). Would you please tell me is there a tutorial that can show me the processes?

Best,
Xiang

User avatar
Thomas Uchida
Posts: 1787
Joined: Wed May 16, 2012 11:40 am

Re: Input Forces

Post by Thomas Uchida » Thu Jan 19, 2017 4:46 pm

Would you please clarify what you're trying to do? Are you trying to programmatically add an OpenSim muscle to an existing model (e.g., add a Thelen2003Muscle to a model using a Matlab script)? Are you trying to implement an entirely new type of muscle model? Are you trying to apply muscle forces that are computed before a simulation is run? Please have a look through the examples and tutorials in the documentation on Confluence (http://simtk-confluence.stanford.edu:80 ... +Tutorials); perhaps you will find what you're looking for.

POST REPLY