How to feed in neural controls (or torque) to a model in MATLAB

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Ismail Raslan
Posts: 5
Joined: Thu Feb 04, 2021 4:01 am

How to feed in neural controls (or torque) to a model in MATLAB

Post by Ismail Raslan » Mon Feb 14, 2022 12:14 pm

Hi,

I would like to feed in neural excitations I define (in a vector or other structure) to a model in MATLAB. I would also like to later on feed on joint torques to the model (both in a forward process sense).

Would you please assist me?

Best,
Ismail

Tags:

User avatar
Carmichael Ong
Posts: 401
Joined: Fri Feb 24, 2012 11:50 am

Re: How to feed in neural controls (or torque) to a model in MATLAB

Post by Carmichael Ong » Wed Feb 16, 2022 10:35 pm

The "simple example" on the front of the GitHub page may be a good place to start for feeding neural excitations to muscles: https://github.com/opensim-org/opensim-core

A similar approach can be taken if instead of muscles, you use the CoordinateActuator (https://simtk.org/api_docs/opensim/api_ ... uator.html) to act as torque actuators and feed in controls via a PrescribedController, similar to the example above.

POST REPLY