Search found 11 matches
- Mon Feb 18, 2019 9:56 am
- Forum: OpenSim
- Topic: Error configuring MATLAB to work with OpenSim 4.0
- Replies: 16
- Views: 3266
Re: Error configuring MATLAB to work with OpenSim 4.0
Hi All, The problem that I ran into was that I had already had Opensim 3.3 installed when I installed OpenSim 4.0, so my PATH variable was referencing the wrong OpenSim version. To edit your PATH variable (if you are using Windows 10), type "environment variables" into your search bar, and click "ed...
- Fri Feb 08, 2019 5:29 pm
- Forum: OpenSim
- Topic: efficient conversion of opensim matrix to Matlab matrix
- Replies: 4
- Views: 381
Re: efficient conversion of opensim matrix to Matlab matrix
Sounds good, thanks for your help!
As a follow on question - do you know whether it is easy to manipulate OpenSim matrices (multiply, etc.) within Matlab, or would you recommend also moving to C++ if this is necessary?
As a follow on question - do you know whether it is easy to manipulate OpenSim matrices (multiply, etc.) within Matlab, or would you recommend also moving to C++ if this is necessary?
- Wed Feb 06, 2019 7:36 pm
- Forum: OpenSim
- Topic: efficient conversion of opensim matrix to Matlab matrix
- Replies: 4
- Views: 381
efficient conversion of opensim matrix to Matlab matrix
Hello, I am working on a project where I need to convert a large number (ideally 40000+) of Opensim matrices (mass matrices of a model in different configurations) into matlab matrices. I've written a short function which converts Opensim Matrix() into a Matlab matrix using nested for loops, but thi...
- Wed Apr 18, 2018 10:17 am
- Forum: OpenSim
- Topic: accessing Displayer for a body through Matlab API (opensim 4.0)
- Replies: 2
- Views: 212
Re: accessing Displayer for a body through Matlab API (opensim 4.0)
This worked, thanks!Geometry.safeDownCast(body.getComponent('<geom-name>'))
- Tue Apr 17, 2018 6:38 pm
- Forum: OpenSim
- Topic: accessing Displayer for a body through Matlab API (opensim 4.0)
- Replies: 2
- Views: 212
accessing Displayer for a body through Matlab API (opensim 4.0)
Hello, I am trying to access the Displayer of an Opensim body using the MATLAB API in Opensim 4.0. Basically, I want to change the color and display properties of my bodies in my simulation. Of course this can be done manually by editing the XML file but I was hoping to do it through a MATLAB comman...
- Fri Apr 13, 2018 1:12 pm
- Forum: OpenSim
- Topic: Error configuring MATLAB to work with OpenSim 4.0
- Replies: 16
- Views: 3266
Re: Error configuring MATLAB to work with OpenSim 4.0
Hi Ayman and Chris, I ended up figuring out what the problem was. I thought I was editing the system Path but instead I was simply adding in an additional system variable. After adding my Opensim 4.0 directory to my path, and making sure that it was before the OpenSim 3.0 directory, it is now workin...
- Fri Apr 13, 2018 11:02 am
- Forum: OpenSim
- Topic: Error configuring MATLAB to work with OpenSim 4.0
- Replies: 16
- Views: 3266
Re: Error configuring MATLAB to work with OpenSim 4.0
Ayman, I am getting a number of error messages, saying "error opening file. The system cannot find the file specified (2)" There are a lot (over 100) of files that it can not open, all under "KERNAL32.dll" However, I also used the dependency walker on the JNI dll from Opensim 3.3 (which was previous...
- Fri Apr 13, 2018 10:54 am
- Forum: OpenSim
- Topic: Error configuring MATLAB to work with OpenSim 4.0
- Replies: 16
- Views: 3266
Re: Error configuring MATLAB to work with OpenSim 4.0
Hi Chris, You're right, thanks for the clarification, I tried installing the redistributable but I am still getting the same error. Here is the output from %PATH%: C:\Users\Michael>echo %PATH% C:\Anaconda3;C:\Anaconda3\Library\mingw-w64\bin;C:\Anaconda3\Library\usr\bin;C:\Anaconda3\Library\bin;C:\An...
- Fri Apr 13, 2018 10:36 am
- Forum: OpenSim
- Topic: Error configuring MATLAB to work with OpenSim 4.0
- Replies: 16
- Views: 3266
Re: Error configuring MATLAB to work with OpenSim 4.0
I also tried running dependency walker on the JNI dll and got the following message:
"Errors were detected when processing "c:\opensim 4.0.beta\bin\OSIMJAVAJNI.DLL" See log window for details"
"Errors were detected when processing "c:\opensim 4.0.beta\bin\OSIMJAVAJNI.DLL" See log window for details"
- Fri Apr 13, 2018 10:24 am
- Forum: OpenSim
- Topic: Error configuring MATLAB to work with OpenSim 4.0
- Replies: 16
- Views: 3266
Re: Error configuring MATLAB to work with OpenSim 4.0
Ayman,
Thanks for the quick response, I appreciate the help.
I tried downloading and installing VS 2017 but that did not seem to fix the problem. Regarding your first suggestion, how exactly do I find the wrong/mixed libraries on my path?
Best,
Michael
Thanks for the quick response, I appreciate the help.
I tried downloading and installing VS 2017 but that did not seem to fix the problem. Regarding your first suggestion, how exactly do I find the wrong/mixed libraries on my path?
Best,
Michael