Can I use ubuntu to compile mexFunction and run it on windows?

 Accepted Answer

Not unless you have a compiler on Ubuntu that can produce a Windows binary. Also, you will need to get the MEX command to work with this compiler, which will involve customizing the mexopts.sh file that is used as an options file during compilation.

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!