Search found 10 matches

by Stefan Schmid
Mon Feb 27, 2023 1:55 am
Forum: Full-body models with detailed thoracolumbar spine for children and adolescents
Topic: Children and adolescents models for OS4: Scaling inconsistencies corrected
Replies: 0
Views: 277

Children and adolescents models for OS4: Scaling inconsistencies corrected

Dear colleagues We would like to notify you that the initial version of the OS4-models contained a few scaling inconsistencies, which have now been corrected. You can find the corrected version of the models on SimTK under Spine_children_models_OS4_v2.zip . We suggest that you download the corrected...
by Stefan Schmid
Tue Mar 15, 2022 3:57 am
Forum: Personalizable full-body models with a detailed thoracolumbar spine
Topic: Kinematic Constraints in the spine
Replies: 1
Views: 217

Re: Kinematic Constraints in the spine

Hi Isabelle

Sorry for the late reply. With the included marker set, we were so far able to appropriately solve the IK probelm without any kinematic constraints.

All the best
-Stefan
by Stefan Schmid
Mon Sep 16, 2019 3:47 am
Forum: OpenSim
Topic: Undefined function or variable 'Storage'.
Replies: 1
Views: 152

Undefined function or variable 'Storage'.

Hi I suddenly get the error message "Undefined function or variable 'Storage'." when I run the following code: import org.opensim.modeling.* path = 'C:\Users\sms2\3_Simulations\ExtLoads\LoadCarrying\'; ExtLoadFile = Storage([path 'ExtLoad_BP_Basefile.mot']); The code used to run on my old computer w...
by Stefan Schmid
Thu May 16, 2019 1:21 pm
Forum: OpenSim
Topic: Modify expressions of ExpressionBasedBushingForce through MATLAB...
Replies: 4
Views: 788

Re: Modify expressions of ExpressionBasedBushingForce through MATLAB...

This is exactly what I was looking for and it works - thank you so much for your help Thomas!
-Stefan
by Stefan Schmid
Thu May 16, 2019 12:22 pm
Forum: OpenSim
Topic: Modify expressions of ExpressionBasedBushingForce through MATLAB...
Replies: 4
Views: 788

Re: Modify expressions of ExpressionBasedBushingForce through MATLAB...

Thanks for the reply Thomas! However, I could still not figure out how to do it. I have a model, which includes the expression-based bushing force "L5S1_Disc_forces". In the OpenSim GUI, I can see this force under Forces/Other Forces. And when I run the following code in MATLAB, I can "see" the forc...
by Stefan Schmid
Tue May 07, 2019 12:47 pm
Forum: OpenSim
Topic: Modify expressions of ExpressionBasedBushingForce through MATLAB...
Replies: 4
Views: 788

Modify expressions of ExpressionBasedBushingForce through MATLAB...

Hi

It seems that I'm not able to figure out how to modify the expressions (e.g. <Mx_expression>) of an ExpressionBasedBushingForce through MATLAB. Can anyone help me with that?

Thanks
-Stefan
by Stefan Schmid
Fri Nov 23, 2018 12:40 pm
Forum: OpenSim
Topic: Clear/delete out.log-file...
Replies: 1
Views: 188

Clear/delete out.log-file...

Hi all I'm running a list of static optimizations through MATLAB using a for-loop. Is there a way to clear/delete the out.log-file after each iteration? The following does not work (Error-message: "Warning: File not found or permission denied"): fclose('all') delete('out.log') Thanks for your help! ...
by Stefan Schmid
Tue Nov 20, 2018 12:41 pm
Forum: OpenSim
Topic: Adding actuators for static optimization through MATLAB
Replies: 3
Views: 501

Re: Adding actuators for static optimization through MATLAB

Hi James

I have been able to resolve the issue by adding the following line before writing the setup back to file:

statop.setModelFilename(modelfile);

Thanks again for your support!

All the best
-Stefan
by Stefan Schmid
Tue Nov 20, 2018 11:27 am
Forum: OpenSim
Topic: Adding actuators for static optimization through MATLAB
Replies: 3
Views: 501

Re: Adding actuators for static optimization through MATLAB

Hi James Thank you very much for your suggestion. What now happens is the following: When I write the setup back to file (statop.print(statopsetupfile_temp)), it does not include writing out the model file (i.e. the line where the the model file name should be remains <model_file />), which causes M...
by Stefan Schmid
Tue Nov 20, 2018 10:29 am
Forum: OpenSim
Topic: Adding actuators for static optimization through MATLAB
Replies: 3
Views: 501

Adding actuators for static optimization through MATLAB

Hi all We are trying to run a static optimization through MATLAB with an added set of residual actuators. According to a previous forum post (https://simtk.org/plugins/phpBB/viewtopicPhpbb.php?f=91&t=8480&p=0&start=0&view=), we have added our actuator set using the follwing code (blue highlighted se...