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

2 views (last 30 days)
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.

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Tags

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!