Is there a way to compile a matlab script that calls a mex function to C++
    4 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
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 
0 commentaires
Réponses (1)
  Shivam Prasad
    
 le 17 Oct 2019
        Hi Marc,
    Check if this works for you:- https://www.mathworks.com/matlabcentral/answers/48620-generating-c-c-code-from-m-function-include-mex-file
0 commentaires
Voir également
Catégories
				En savoir plus sur Call C++ from MATLAB dans Help Center et File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

