How to communicate with TCSPC via MATLAB?

3 次查看(过去 30 天)
Hello
I'm a graduate student in bioimaging lab.
In our lab, we have TCSPC device from company Becker & Hickl (BH) and it is connected through PCI bus.
It's possible to use TCSPC via software developed from BH, but I want to use several functions of TCSPC via our imaging program written by MATLAB.
I tried to use several MATLAB functions ('visadev','visadevfind',etc.) to communicate with TCSPC, but I couldn't connect to TCSPC via MATLAB.
Here's the quetions to ask
1) Is there any reference code written in MATLAB which is used for communication with TCSPC via MATLAB?
2) If not, could I get some guidances for that? I downloaded .dll files from BH.

回答(1 个)

Malay Agarwal
Malay Agarwal 2024-8-26
If you have downloaded the DLLs from the vendor, you can use the "loadlibrary" function in MATLAB to load the DLL. Once the DLL is loaded, you can use the "calllib" function to call functions from the DLL. You can also view the functions and their signatures in the DLL using the function "libfunctionsview".
The following MATLAB Answers shows an example of loading and calling functions from a DLL: https://www.mathworks.com/matlabcentral/answers/841545-accessing-data-from-a-dll-file.
Please refer to the following resources for more information:
Hope this helps!

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by