Determining the OpenSim version in use from the MATLAB API
Posted: Fri May 07, 2021 3:46 am
Hello,
I am trying to update some of my scripts so that they can run on OpenSim 4.x but I like the idea of keeping backward compatibility with OpenSim 3.3, which I still use sometimes. I was wondering if there is any method available from the MATLAB API that returns the OpenSim version being used. Currently I am reading the $OPENSIM_HOME environment variable, but I was looking for a more robust approach.
Thank you,
Luca
I am trying to update some of my scripts so that they can run on OpenSim 4.x but I like the idea of keeping backward compatibility with OpenSim 3.3, which I still use sometimes. I was wondering if there is any method available from the MATLAB API that returns the OpenSim version being used. Currently I am reading the $OPENSIM_HOME environment variable, but I was looking for a more robust approach.
Thank you,
Luca