MATLAB Static Optimisation States File

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Jordan Yee
Posts: 3
Joined: Wed Mar 31, 2021 4:56 pm

MATLAB Static Optimisation States File

Post by Jordan Yee » Wed Jul 28, 2021 10:54 pm

Hello,

I successfully got static optimization and forward dynamics running in the GUI and now am trying to transfer this to the API.

Everything runs fine, but I'm unsure how to generate the states file required to set the initial state of the FD. In the GUI, running SO automatically produced a states file which I could then use to set the initial state for the FD, but running the SO through the AnalyzeTool in the API only generates the forces, activations and controls.

Is there any way to set the StaticOptimization or AnalzeTool objects to create the initial states file for me? Alternatively, I have the .mot generated from IK which was input to the SO, can I create a states file from that?

Thank you.

Tags:

POST REPLY