Load Custom Muscle Model in MATLAB

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Soh Saif
Posts: 5
Joined: Sun Jul 04, 2021 2:49 pm

Load Custom Muscle Model in MATLAB

Post by Soh Saif » Thu Apr 14, 2022 12:04 pm

Hi all,

I created a custom muscle model based on the following tutorial which is the customised version of FatigableMuscle :
https://simtk-confluence.stanford.edu:8 ... scle+Model

For further analysis which is part of my work, I need to load this custom muscle in MATLAB and interact with it. I managed to access OpenSim API in MATLAB based on the following link:
https://simtk-confluence.stanford.edu:8 ... ith+Matlab

I would like to know how I can load and access the custom muscle in MATLAB like other OpenSim API features.
Not sure what is the best approach to achieve this! Is there any guide in OpenSim documents in this regard? Is there any way to achieve this?

Thanks in advance,
Soheil

Tags:

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

Re: Load Custom Muscle Model in MATLAB

Post by Thomas Uchida » Fri Apr 15, 2022 10:12 am

You could build your new muscle model into a plugin. Please see the following pages in the User's Guide:
- "Creating Plugins", https://simtk-confluence.stanford.edu:8 ... ng+Plugins
- "Using Plugins", https://simtk-confluence.stanford.edu:8 ... ng+Plugins
You may also wish to search the Forum for the word "plugin" (search.php?keywords=plugin) for additional information.

POST REPLY