Page 1 of 1

Plot OpenSim Results with Matlab

Posted: Fri May 03, 2019 1:02 pm
by mmoessner
Hi there, I developed an OpenSim application which does following Analyzes:
BodyKinematics, StaticOptimization, JointReaction and finally plots the results into images.
In the GUI the process works fine :D
In the next step, I wrote Matlab code to do the same tasks. After some work I succeded
except for plotting ;)

Here are my questions
1) The plot tool in the GUI is fine! Is it possible to do the same via Matlab and
where can I find documentation. :P
2) On githup I found python code that uses createPlotterPanel. Unfortunately I was not able to
use this funtion in Matlab. :(
3) Is there a quick solution for loading the *.sto files into Matlab and use Matlab's plotting facilities?
Of course I can use fopen, fscanf, ..., but this would require a lot of Matlab coding :|

Could anyone give me some hints :P

Re: Plot OpenSim Results with Matlab

Posted: Sat May 04, 2019 1:27 am
by mitkof6
You might load a .sto file and plot the results using MATLAB utilities.

viewtopicPhpbb.php?f=91&t=9165&p=25196&start=0&view=

Re: Plot OpenSim Results with Matlab

Posted: Fri May 10, 2019 7:05 am
by mmoessner
The Matlab code of readMotionFile, mentioned in the posting above, works fine :P