Matlab mex cannot include Opensim.h

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
User avatar
Wentao Li
Posts: 13
Joined: Fri Mar 02, 2018 1:07 pm

Re: Matlab mex cannot include Opensim.h

Post by Wentao Li » Wed Nov 20, 2019 10:35 pm

mitkof6 wrote:
Fri Nov 15, 2019 3:44 pm
Maybe you haven't provided the include dir when compiling with mex. The compiler must know the location of the OpenSim.h file directory. This is typically provided with the -I argument.

https://stackoverflow.com/questions/676 ... es#6768067
https://www.mathworks.com/help/matlab/r ... d1a18985c6
I included the write .h path, but still had the problem.

I agree with James that there are problems in Matlab compilers and perhaps mex interface.

Tags:

POST REPLY