Search found 2 matches

by Donatella Simonetti
Fri Apr 28, 2023 12:44 am
Forum: OpenSim
Topic: Manual scaling via matlab scripting
Replies: 2
Views: 422

Re: Manual scaling via matlab scripting

Hi Thomas, thank you for your reply. Now it's working :) I will leave here the working Matlab function: function manual_scaling(scale_template,unscaled_model,mass, output) % function to plate IMUs on a Osim model by calling OpenSim functions import org.opensim.modeling.* % open generic model Model1 ...
by Donatella Simonetti
Thu Apr 27, 2023 9:52 am
Forum: OpenSim
Topic: Manual scaling via matlab scripting
Replies: 2
Views: 422

Manual scaling via matlab scripting

Hello, I'm trying to scale a generic model 2392 manually but I'm having problems getting to the right solution via Matlab script. Should I use the Model class and the function scale to perform the scaling? Or should I create a ScaleTool? In both cases (see below) I get stuck. Could you please give m...