Hi all,
I been trying to compile 'compileOpenSimSFunction.m'. My working setup is
Windows 7 (ultimate) 32bit, Matlab 2014a 32bit, Opensim 3.3 32bit and visual studio C++ 2010 (ultimate). I type the the following execution command on my matlab command window.
mex -v -f msvc100freeopts.bat -DWIN32 -I<D:\MATLAB> openSimSFunction.cpp
When I run the script ''compileOpenSimSFunction.m'' from the block folder, I get the following error in the screenshot. Can anyone please post a the procedure for compilation or a readme file with the instructions ?
Also is it necessary to build to build opensim from the source for this. Any help regarding this issue is much appreciated. Thanks in advance!
regards,
jan
OpenSimSFunction
- Gautam Ramachandra
- Posts: 65
- Joined: Thu Sep 03, 2015 11:04 pm
Re: OpenSimSFunction
I guess you need to run the Matlab in admin mode
- Jan Thomas
- Posts: 23
- Joined: Mon Aug 10, 2015 8:39 am
Re: OpenSimSFunction
I have already tried running it in admin mode but I get the same error.
- Jeff Reinbolt
- Posts: 3
- Joined: Tue May 30, 2006 4:14 pm
Re: OpenSimSFunction
Hi Jan,
Thanks for your post, the additional environment details, and screenshot.
Would you kindly point me to the repository with the "block" directory (e.g., https://simtk.org/svn/opensim-matlab) where you checked out the source code files? This helpful information may lead to identifying the root cause of your error.
The "Access is denied" error definitely appears to be a permission issue with Windows 7. In addition, I do not recall the need to build OpenSim from source to compile any MATLAB MEX files using the OpenSim API.
Best regards,
Jeff
Thanks for your post, the additional environment details, and screenshot.
Would you kindly point me to the repository with the "block" directory (e.g., https://simtk.org/svn/opensim-matlab) where you checked out the source code files? This helpful information may lead to identifying the root cause of your error.
The "Access is denied" error definitely appears to be a permission issue with Windows 7. In addition, I do not recall the need to build OpenSim from source to compile any MATLAB MEX files using the OpenSim API.
Best regards,
Jeff