How to make mat lib(mat.h , matrix.h, etc...) compatible for the linux platform?

6 views (last 30 days)
We have libs for windows environment i.e (mat.h, matrxi.h, etc..) , How to make these libraires compatible linux platform. can you please help me the same.

Answers (1)

Rik
Rik on 6 Dec 2021
Including mex.h is generally enough to provide the interface with Matlab in my experience. You may need to include stdint.c as well.
For Unix you might have to include the -ldl switch in your mex call.

Categories

Find more on Programming 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!