Search found 118 matches

by Karthick Ganesan
Wed Aug 29, 2018 2:20 am
Forum: OpenSim
Topic: Cannot open include file: 'OpenSim/OpenSim.h'
Replies: 7
Views: 743

Re: Cannot open include file: 'OpenSim/OpenSim.h'

I could compile the example in matlab documentation with VS2010. Even for the data tracking code, the mex file was compiled successfully with VS 2010. But when it was called by the objective function I get this error message.
by Karthick Ganesan
Wed Aug 29, 2018 1:30 am
Forum: OpenSim
Topic: Cannot open include file: 'OpenSim/OpenSim.h'
Replies: 7
Views: 743

Re: Cannot open include file: 'OpenSim/OpenSim.h'

Dear Nicos, Thank you very much for your prompt reply. I also encountered the same issue earlier and modified the OpenSim Install directory. I changed the model name in the cpp code. Still I get the same error. I tried with VS 2015 (enterprise). But Matlab did not recognize it for compiling MEX file...
by Karthick Ganesan
Wed Aug 29, 2018 12:40 am
Forum: OpenSim
Topic: Cannot open include file: 'OpenSim/OpenSim.h'
Replies: 7
Views: 743

Re: Cannot open include file: 'OpenSim/OpenSim.h'

Dear Nicos and Aaron, I am also trying to run the same code. I got the following error message. Invalid MEX-file 'F:\Research\OpenSimS\DataTracking-latest\DataTracking_Ver1\DataTracking_Ver1\Models\calcStateDerivsMetaPowerFGContactF.mexw64': A dynamic link library (DLL) initialization routine failed...
by Karthick Ganesan
Wed Aug 29, 2018 12:20 am
Forum: OpenSim
Topic: Compiling MEX file with OpenSim 3.3 and Visual Studio 2010
Replies: 2
Views: 264

Re: Compiling MEX file with OpenSim 3.3 and Visual Studio 2010

Dear Dimitar,
Thanks for the information. I am creating MEX file with code from one of the SimTK projects. I got the following error.

Invalid MEX file. A dynamic link library (DLL) initialization routine failed.

I use OpenSim 3.3 and Visual Studio 2010. What are the possible causes for this?
by Karthick Ganesan
Wed Aug 22, 2018 5:43 am
Forum: OpenSim
Topic: Moment arm of path actuator in CMC
Replies: 3
Views: 528

Re: Moment arm of path actuator in CMC

Thanks for the information. Should I mention the name of the path actuator in the <muscle_list>(i.e <muscle_list> Actuator_r<muscle_list>)? When I did that I did not get the results. It gave a file only with time steps, nothing else.
by Karthick Ganesan
Tue Aug 21, 2018 3:47 am
Forum: OpenSim
Topic: Compiling MEX file with OpenSim 3.3 and Visual Studio 2010
Replies: 2
Views: 264

Compiling MEX file with OpenSim 3.3 and Visual Studio 2010

Dear All,
Can I compile MEX file using Visual Studio 2010 and OpenSim 3.3? OpenSim 3.3 is built with Visual Studio 2013.
Thanks & Regards,
Karthick.
by Karthick Ganesan
Fri Aug 17, 2018 3:48 am
Forum: OpenSim
Topic: Moment arm of path actuator in CMC
Replies: 3
Views: 528

Re: Moment arm of path actuator in CMC

Thanks for the information. Should I mention the name of the path actuator in the <muscle_list>(i.e <muscle_list> Actuator_r<muscle_list>)? When I did that I did not get the results. It gave a file only with time steps, nothing else.
by Karthick Ganesan
Wed Aug 15, 2018 1:58 am
Forum: OpenSim
Topic: Moment arm of path actuator in CMC
Replies: 3
Views: 528

Moment arm of path actuator in CMC

Dear All,
How to get the moment arm and moment of a path actuator during a CMC analysis?

Thanks & Regards,
Karthick.
by Karthick Ganesan
Thu Jul 19, 2018 3:40 am
Forum: OpenSim
Topic: Java library failed to load while trying to interface with MATLAB
Replies: 4
Views: 523

Re: Java library failed to load while trying to interface with MATLAB

Thanks. It helped to fix the error. Also thanks for the tip for searching the forum for error messages.
by Karthick Ganesan
Wed Jul 18, 2018 4:27 am
Forum: OpenSim
Topic: Java library failed to load while trying to interface with MATLAB
Replies: 4
Views: 523

Re: Java library failed to load while trying to interface with MATLAB

Thanks for your reply. Yes. I had multiple versions in the system path and I removed the older versions from the path. Now I get the following error. Error using simpleOptimizerExample (line 31) Java exception occurred: java.io.IOException: Object: ERR- Could not open file testData\Arm26_Optimize.os...