Hi everyone,
I downloaded the source code for the new OpenSim 4.5.1 API because of the new MocoGoals that got introduced in the update (mainly the MocoExpressionBasedParameterGoal). I have built OpenSim Core and all its dependencies through the terminal with CMake. It took me several attempts but I think I succeeded.
However, I am missing (among others) the sdk folder within the opensim-core-install folder, which I assume is equivalent to the OpenSim4.5.app/Contents/Resources/opensim folder within the application. The missing Java folder and its content (org-opensim-modeling.jar) means I cannot use the configureOpenSim Matlab script to set up all the dependencies to run the new 4.5.1 API.
How do I properly set up the 4.5.1 API for use with Matlab?
Many thanks for your help!
Cheers,
Oliver
Setting up OpenSim 4.5.1 API with Matlab on MacOS
- Oliver Demuth
- Posts: 11
- Joined: Mon Nov 27, 2023 8:10 am
- Nicholas Bianco
- Posts: 1050
- Joined: Thu Oct 04, 2012 8:09 pm
Re: Setting up OpenSim 4.5.1 API with Matlab on MacOS
Hi Oliver,
If you set the CMake variable "OPENSIM_INSTALL_UNIX_FHS_DEFAULT" to "OFF", you should get the file structure with the "sdk" folder.
Note that we haven't tested Matlab installations much yet, so your milage may vary when installing to Matlab specifically.
Best,
Nick
If you set the CMake variable "OPENSIM_INSTALL_UNIX_FHS_DEFAULT" to "OFF", you should get the file structure with the "sdk" folder.
Note that we haven't tested Matlab installations much yet, so your milage may vary when installing to Matlab specifically.
Best,
Nick