Dear OpenSim experts
I would like try the MATLAB scripting for OpenSim. However, when I set up the MATLAB scripting environment, according to the online OpenSim Documentation (Setting up your MATLAB Scripting Environment, website: https://simtk-confluence.stanford.edu:8 ... ith+Matlab), it is said I need to first change my current folder to the opensim matlab scripts directory, on windows which is C:/Users/<username>/Documents/OpenSim/4.0/Code/Matlab, and then run the configureOpenSim.m file from the current folder.
But my problems are that I cannot find the OpenSim Matbla scripts directory as you instructed. And then I try to search the configureOpenSim.m file in the whole C: drive, and there is no such file existed in the drive.
Could you please tell me what is the problem and how to set up the MATLAB scripting environment in this case. Thank you very much in advance.
Best regards
Xijin
Matlab scripting installation error
- Carmichael Ong
- Posts: 401
- Joined: Fri Feb 24, 2012 11:50 am
Re: Matlab scripting installation error
When you first install OpenSim 4.0+, upon first opening the GUI application, it will ask you where to install some additional files (these are Model and Code folders). It's possible that you cancelled out of this operation, or asked it to install in a different location. There might be two possible ways to fix this:
1) Open the GUI, and go to the ScriptingShell Window. Enter in:
This should bring up the original prompt again.
2) I think if you reinstall OpenSim, it would ask you again.
1) Open the GUI, and go to the ScriptingShell Window. Enter in:
Code: Select all
installResources()
2) I think if you reinstall OpenSim, it would ask you again.
Re: Matlab scripting installation error
Hi, Carmichael
Thank you very much for your kindly reply. Your suggestions are very helpful and the problem has been solved. Thank you so much.
Best regards
Xijin
Thank you very much for your kindly reply. Your suggestions are very helpful and the problem has been solved. Thank you so much.
Best regards
Xijin