How to work with loadlibrary and C header files

2 views (last 30 days)
I know that this question is only down to me not knowing the basics of working with c so I hoop that somebody is able to help me with this.
For a project I have to create a struct in c and then use this stuct to load it into matlab using loadlibrary and this example:
However I have no idea how to even create the right files in the c language and I cant find any information on this online.
I have attached the c file as a txt file to this question.
Any help or tips are welcome as I am completely stuck and have no idea how to fix this problem.
Bram Surewaard
Bram Surewaard on 10 Aug 2020
yeah i tried doing that with gcc -m64 however I still get the same error

Sign in to comment.

Answers (0)


Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by