How can i call C function in matlab script?

Answers (1)

dpb
dpb on 31 Jul 2013
If the C function is in a shared library (.dll in Windows) use the loadlibrary interface; if not you have to have an interfacing mex routine to the C routine.
It's all in the External Programming Interfaces documentation...

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Asked:

on 31 Jul 2013

Community Treasure Hunt

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

Start Hunting!