Is it possible to create a MEX file from C code outside of Matlab?

4 views (last 30 days)
Mahmud Khan
Mahmud Khan on 20 Sep 2018
Edited: James Tursa on 20 Sep 2018
I know how to do it within Matlab. Is there a way to turn a dot-c file into a MEX file (64 bit) through some other method not involving Matlab?

Answers (1)

James Tursa
James Tursa on 20 Sep 2018
Edited: James Tursa on 20 Sep 2018
You can compile the mex routine from outside of MATLAB (e.g., from within Visual Studio), but you will still need the MATLAB libraries to link with.

Tags

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!