Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We will conduct the workshop using a beta version of OpenSim 4.0 API (the GUI is not included). To ensure the workshop starts smoothly, please set up and test this beta version before departing for the symposium. 
  1. Download the files here (links no longer work)
    1. Windows, 64-bit MATLAB
    2. Windows, 32-bit MATLAB
    3. Mac
    4. The example requires MATLAB 2014b. If you have an older version, you can team up with others or download a free trial of MATLAB.
  2. Unzip the files to a location of your choice; perhaps C:\opensim-core-tgcs (on Windows).
  3. If you use Windows, edit your PATH environment variable to include the bin directory (e.g., C:\opensim-core-tgcs\bin). See here for instructions. Make sure to remove any previous OpenSim installations from your PATH (alternatively, rename the folder containing the previous OpenSim installation).
  4. Configure OpenSim with MATLAB by starting MATLAB and running configureOpenSim.m. This file is located in:
    1. Windows: sdk/Scripts/Matlab
    2. Mac: share/doc/OpenSim/Scripts/Matlab
  5. After the script completes, restart MATLAB and test the configuration by checking the timestamp from running org.opensim.modeling.opensimCommon.GetVersionAndDate() in the MATLAB command window; the date should be in July 2017. 
    1. Test that the visualizer is working by running the following, after which you should see an empty visualizer window.

      Code Block
      >> m = org.opensim.modeling.Model()
      >> m.setUseVisualizer(true);
      >> m.initSystem();

Slides

Here are the slides from the workshop.


Post-workshop report

Thank you to all those who participated in the workshop!

...