Is there a way to compile a matlab script that calls a mex function to C++

Hello,
I have a matlab script that calls a mex function. I need to compile both to c++ so I can then compile that to javascript. Is there a way to compile a matlab script that uses a mex function to c++? I tried using Matlab Coder but it errors on the mex function call.
Thank you,
Marc

Categories

Asked:

on 19 Sep 2019

Answered:

on 17 Oct 2019

Community Treasure Hunt

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

Start Hunting!