Problem with the MATLAB interface for SR4500 camera

Dear Sir,

I work with a SR4500 camera (time of flight camera and it works with Ethernet). When I run

function sr_loadlib()

in MATLAB 2015, it gives me this error (I also add the path of swissranger camera in MATLAB path):

[code]Warning: A loader file was supplied that was built with a previous version of MATLAB that will not be supported in future versions of MATLAB.

In loadlibrary (line 406)
In sr_loadlib (line 23)
Error using loadlibrary (line 447)
There was an error loading the library “libMesaSR”
The specified module could not be found.
Error in sr_loadlib (line 23)
loadlibrary(‘libMesaSR’,@sr_loadlibproto);
Caused by:
Error using loaddefinedlibrary
The specified module could not be found.[/code]

It seem it needs a “.dll” library, but I could not find it in MesaImaging website or another websites. How can I solve this problem?

Thanks,

Abbas

The manufacturer would be in the best position to troubleshoot this one: [email protected]

Dear Benson,

Thank you for your answer.

Abbas

Dear Sir,

I am Abbas and I am Ph.D student at University of Nebraska-Lincoln. I bought a Sr4500 camera (it works with Ethernet not usb) from your website. For my research, I need to control the camera with c++. I do not know to much about c++. I found c++ files in the API of the camera (like libMesaSRTester.cpp or SwissRangerSampleGui.cpp) and I run it, but it gives me lots of errors.I tried to remove the errors (like copy and paste the “.h” files in the c++ directory), the errors were decreased but some errors remained, and I could not run the camera. I also look at the user manual, but it explained running the camera with c++ briefly. I know the company does not make this camera anymore and the new company does not responsible for it. This is very important for me to control it with c++. Does exist any c++ file that I can connect to the camera and open it, capture one image and have a text file which includes X,Y,Z coordinates of all pixels in the image and also amplitude values of all pixels, save the text file, and then close the camera. I appreciate for any help or idea.

Best Regards,
Abbas