Search found 47 matches
- Mon Sep 14, 2020 1:28 am
- Forum: OpenSim
- Topic: console reporter
- Replies: 3
- Views: 364
Re: console reporter
Can you please provide what OS and version of OpenSim you are using? We have seen this behavior in the past with Windows and MATLAB. If you are using OpenSim 4.1 or before and want a workaround, you can look for the output in your current working directory in the file "out.log". hello, hope you hav...
- Sun Sep 13, 2020 12:19 am
- Forum: OpenSim
- Topic: console reporter
- Replies: 3
- Views: 364
Re: console reporter
Hello,
my working environment is: Windows 10 64bit, OpenSim 4.1 64bit, Matlab 2016a 64bit.
and this is the out.log file how can I fix that ?
thank you and Best,
Hamed
my working environment is: Windows 10 64bit, OpenSim 4.1 64bit, Matlab 2016a 64bit.
and this is the out.log file how can I fix that ?
thank you and Best,
Hamed
- Fri Sep 11, 2020 11:58 pm
- Forum: OpenSim
- Topic: console reporter
- Replies: 3
- Views: 364
console reporter
Hello, this is the code for an example of an arm model that produces an animation: %% Import Java libraries import org.opensim.modeling.* arm = Model(); arm.setName('bicep_curl'); arm.setUseVisualizer(true); % --------------------------------------------------------------------------- % Create two l...
- Fri Sep 11, 2020 11:13 pm
- Forum: OpenSim
- Topic: reading a ".mot" file
- Replies: 7
- Views: 647
Re: reading a ".mot" file
Hi Hmaed, In the past, I have used "dlmread" in Matlab to import the coordinate data of a .mot file and then "readtable" to extract the variable names. I hope this is helpful Mike thank you for your response in advance, I changed the .mot file to a .txt format and then used the "readtable" but that...
- Thu Sep 10, 2020 12:34 am
- Forum: OpenSim
- Topic: reading a ".mot" file
- Replies: 7
- Views: 647
Re: reading a ".mot" file
Yep that's the filename, mine just loops a bunch of trials so that's how it formats to read. I think from what you gave yours would be: motAsTable = readtable('subject01_walk1_grf.txt'); outputs = motAsTable.Properties.VariableNames; data = table2array(motAsTable); Yeah, the mot file is just saved ...
- Tue Sep 08, 2020 4:12 am
- Forum: OpenSim
- Topic: reading a ".mot" file
- Replies: 7
- Views: 647
Re: reading a ".mot" file
Hey, I was actually working on this today. Here's what I came up with: IKrez_0 = readtable([trialname,'_0_IKrez.txt']); outputs = IKrez_0.Properties.VariableNames; data = table2array(IKrez_0); The input to the readtable is a string of the file name for the inverse kinematics results. I had them pri...
- Fri Sep 04, 2020 11:58 pm
- Forum: OpenSim
- Topic: reading a ".mot" file
- Replies: 7
- Views: 647
reading a ".mot" file
Hello, how can I read a .mot file in MATALB? there was a topic in "Scripting with Matlab" about "Reading in and Writing Data to File". there was a code like this filepath = 'subject01_walk1_grf.mot'; and I typed the file path containing the .mot file and run it in MATLAB but that didn't work. could ...
- Fri Aug 28, 2020 1:30 am
- Forum: OpenSim
- Topic: OpenSim and Matlab
- Replies: 5
- Views: 530
Re: OpenSim and Matlab
could anyone help me with this problem please !?
thank you
thank you
- Sat Aug 22, 2020 7:17 am
- Forum: OpenSim
- Topic: OpenSim and Matlab
- Replies: 5
- Views: 530
Re: OpenSim and Matlab
There are different options: You can read a .mot, .sto file with the Storage facility: https://github.com/opensim-org/opensim-core/blob/2fc6dc1d23734f3b5f8d58c3b3833871e756c675/Bindings/Python/tests/test_consistent_with_jython.py#L140 or you can use DataTable: https://simtk.org/api_docs/opensim/api...
- Fri Aug 14, 2020 7:51 am
- Forum: OpenSim
- Topic: OpenSim and Matlab
- Replies: 5
- Views: 530
Re: OpenSim and Matlab
thanks for the reply,
I checked the links you sent me but that wasn't so helpful.
I wanna know whether I have to write a code for loading a motion or I can load the ".m" file directly in MATLAB.
I'm a bit confused.
I checked the links you sent me but that wasn't so helpful.
I wanna know whether I have to write a code for loading a motion or I can load the ".m" file directly in MATLAB.
I'm a bit confused.