# is not recognized in matlab GUI
Show older comments
I would like to add a library to matlab gui. However the "#" was not recognized by the matlab. Anyone knew what's happening?
5 Comments
dpb
on 11 Dec 2022
That's C source code, not MATLAB code
You would load a DLL file, not the source...
gdz
on 11 Dec 2022
dpb
on 11 Dec 2022
You are NOT right, no. loadlibrary loads an already-created library; it does NOT build the library from the source code.
If the DLL doesn't already exist, then it has to be created from the source code by compiling the source to build the library.
One would presume there is an available download of the library already built as well as the source from wherever you obtained it.
gdz
on 12 Dec 2022
gdz
on 14 Dec 2022
Answers (1)
Mann Baidi
on 30 Aug 2023
0 votes
Hi,
I understand that you are facing issues in importing the .h libraries and .cpp files in MATLAB. I would suggest you follow the instructions given in the following link.
Hope this helps!
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!