Search found 15 matches
- Fri May 18, 2018 3:37 am
- Forum: OpenSim
- Topic: human hand dynamic model_ data_simulation files
- Replies: 0
- Views: 57
human hand dynamic model_ data_simulation files
Hello, I am looking for simulated/experimental data to validate my model (human hand dynamic). More specifically, joint torques with its related motion file. I want to do the simulation in Opensim and then evaluate my model (in Matlab) based on the dynamic simulation results of opensim. Could you pl...
- Mon Aug 14, 2017 6:03 am
- Forum: OpenSim
- Topic: Edit model + Matlab
- Replies: 1
- Views: 178
Edit model + Matlab
Hello, I am trying to edit '2nd_Hand_Model_An_attachments' in a way just to calculate muscle length and moment arms in Matlab. Using the current model takes long calculation time. I think it is due to calculating other values that I do not need. Anyone can suggest which important things should I kee...
- Mon Jul 31, 2017 5:47 am
- Forum: OpenSim
- Topic: Bone positions and orientation + Muscle origin/Via/insertions
- Replies: 1
- Views: 602
Bone positions and orientation + Muscle origin/Via/insertions
Hello, I am building an upper limb model in Simulink. I need information about Bone ( positions and orientation ), Muscle path (origin/Via/insertions), and wrapping sufaces. Anyone can help me in how can I extract these information from OpenSim model using MATLAB? Where can I find sample codes ? Reg...
- Tue Jun 27, 2017 6:20 am
- Forum: OpenSim
- Topic: Matlab interface/ Muscle length
- Replies: 1
- Views: 170
Matlab interface/ Muscle length
Hello, I am calculating muscle length and moment arm through M-file and S- function. It takes long time to get the results. I am not sure why it is very slow but I expect that the due to calculating model parameters that I do not need. Is there a way to make it faster by deactivating other calculati...
- Tue Mar 14, 2017 12:48 pm
- Forum: OpenSim
- Topic: a time shift or a differnce in the values Moment arm
- Replies: 7
- Views: 789
Re: a time shift or a differnce in the values Moment arm
I checked the number of frames in the saved data file and found it 348 while the original motion file and Matlab processed data 350..what could be the reason to get 348 in OpenSim not the same number of frames?
PS in the plot,I plotted each data with its corresponding time points
PS in the plot,I plotted each data with its corresponding time points
- Tue Mar 14, 2017 9:43 am
- Forum: OpenSim
- Topic: a time shift or a differnce in the values Moment arm
- Replies: 7
- Views: 789
a time shift or a differnce in the values Moment arm
Hello all, I am trying to calculate moment arm using MATLAB interface. To check the interface I compared calculated moment arm from OpenSim (uing plotter, then data export) with the calculated in MATLAB script. I got either a time shift or a differnce in the values as in the attached fig as an examp...
- Sat Mar 11, 2017 12:20 pm
- Forum: OpenSim
- Topic: Undefined function or variable 'getMuscleLength'
- Replies: 1
- Views: 172
Undefined function or variable 'getMuscleLength'
Hello,
I am using 'getMuscleLength' in MATLAB script. I got an error : Undefined function or variable 'getMuscleLength'.
Is muscle.getLength(state) the same as muscle.getMuscleLength(state)?
I am using 'getMuscleLength' in MATLAB script. I got an error : Undefined function or variable 'getMuscleLength'.
Is muscle.getLength(state) the same as muscle.getMuscleLength(state)?
- Sat Mar 11, 2017 12:17 pm
- Forum: OpenSim
- Topic: Undefined function or variable 'realizePosition'
- Replies: 1
- Views: 222
Undefined function or variable 'realizePosition'
Hello,
1- I used the code below in Maatlab scripting:
and got the error:
Undefined function or variable 'realizePosition'.
2- What is the difference between myModel.realizePosition and myModel.updCoordinateSet
Can anyone advise?
1- I used the code below in Maatlab scripting:
Code: Select all
myModel.realizePosition(state)
Undefined function or variable 'realizePosition'.
2- What is the difference between myModel.realizePosition and myModel.updCoordinateSet
Can anyone advise?
- Fri Mar 10, 2017 8:45 am
- Forum: OpenSim
- Topic: muscle insertion
- Replies: 3
- Views: 334
- Fri Mar 10, 2017 2:22 am
- Forum: OpenSim
- Topic: muscle insertion
- Replies: 3
- Views: 334
Re: muscle insertion
Hello, To get muscle attachment points and details of wrapping surfaces you have 2 options: 1- oppening the modeel.osim using text viewer and I opened it in Excel it was more organised 2- From openSim software using Muscle Editor (as recommended by Tom Uchide , See, for example, the "Muscle Editor" ...