Page 1 of 1

Error in MEX S function

Posted: Wed Jun 24, 2020 11:00 am
by Gav_fly
Hi,
I am a student and trying to fly the quadcopter using MATLAB/Simulink but got this error..

Error while obtaining sizes from MEX S-function 'sfun_cflie_simple' in 'test_simple/S-Function1'.
Caused by:
Invalid MEX-file '/home/Documents/crazyflie-client-matlab/CrazyFlie_lib/sfun_cflie_simple.mexa64': libcflie.so: cannot open shared object file: No such file or directory.

Please help.

Thank you.

Re: Error in MEX S function

Posted: Fri Jun 26, 2020 11:49 am
by kimberly
Hi! We do not maintain a matlab client for the crazyflie here at bitcraze (yet)

Did you get this client from somebody's github repository? Then this issue should probably in that issue list of that repo.

Re: Error in MEX S function

Posted: Fri Jun 26, 2020 3:32 pm
by Gav_fly
Okay, thank you for informing. I was not aware.

Regards
Gav_fly

Re: Error in MEX S function

Posted: Mon Jun 29, 2020 8:52 am
by kimberly
No worries!

Is it this Matlab repo ? https://github.com/aruneinstein/crazyflie-client-matlab

It hasn't been maintained for 5 years so not surprising that it does not work.

There has been some forum threads about using matlab in general, so maybe it would be good to check those out for tips as well ?

This one might be interesting for you as well:
viewtopic.php?f=6&t=4102&p=18633&hilit=matlab#p18633