Using *.dll file in MATLAB

I am trying to use the attached *.dll file in MATLAB and am unclear how to even start. There is no header file along with it. Any help would be appreciated.

7 Commenti

James Tursa
James Tursa il 23 Set 2022
Modificato: James Tursa il 23 Set 2022
Many of us are reluctant to click on an unknown zip file. Maybe you could describe what this is and where it came from. What documentation do you have? Is it a very old mex routine? Or ...?
Brian
Brian il 23 Set 2022
Yeah, that's understandable now that I think about it. It's from the OnSemi Communication ToolKit (CTK) Runtime and is supposed to provide functionality to connect to BELASIGNA chips. I would have attached the *.dll itself, but that was an incompatible file type. I can't find any documentation on it, and when contacting their technical support about interfacing with a BELASIGNA 250, their only response is "That chip has been obsoleted and is no longer supported."
Backstory, there's an old production tester that I'm working to replace, and one of the functionalities is "Check the firmware version on the product and update if necessary." There is a convoluted set of C++ files, *.exe files, and *.bat files that are supposed to enable this (all called from LabView code), and I'm not sure exactly how to decipher all of it, so I wanted to start at the source and try to recreate only as much of it as is necessary in the MATLAB environment instead.
It would not be difficult to find out the names of the functions that can be called in the DLL: that information is present in all DLL. But finding out what the parameter data types are for the calls is not easy if the DLL was coded in C (but might be easier if it was coded with C++)
Interestingly, https://docplayer.net/98299736-Ece-5650-4650-python-project-1.html shows that it was used for a 2018 course. I do not know whether it might still be possible to obtain the software they used for the course.
Brian
Brian il 26 Set 2022
I don't see any reference to the CTKCOM.dll, OnSemi, or BelaSigna in that link.
I have a C++ code that was previously used to interface with CTKCOM.dll, I'm just looking to implement that in MATLAB and I'm not sure where to start (I haven't looked at anything C++ related in 20 years). I can likely find the parameter data types in this code. If I do, what would you recommend as the easiest/best way to pull those functions into MATLAB?
You are right, I did not scan that article thoroughly enough. There is a reference to BelaSigna on that page, but it is just a link to an Application Note, whereas when I scanned the article the first time I misunderstood it as being a project that involved communicating with a BelaSigna device.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Communications Toolbox in Centro assistenza e File Exchange

Prodotti

Release

R2022b

Tag

Richiesto:

il 23 Set 2022

Commentato:

il 26 Set 2022

Community Treasure Hunt

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

Start Hunting!

Translated by