Compile C++ for Unix environment
Show older comments
Sirs, I have some C++ code that is currently compiled to operate within Matlab in a Windows environment (Mex'ed).
I wish to run the Matlab code within a Unix environment, which means re-compiling the C++ code.
Can I re-compile the code within a Windows environment so that it works on Unix? Or do I need to use Matlab on a Linux machine to compile the code?
kind regards W
3 Comments
José-Luis
on 19 Dec 2016
Save yourself a world of hurt and recompile in Linux.
William White
on 19 Dec 2016
Walter Roberson
on 21 Dec 2016
You would have to install a Windows emulator on the Linux system.
Accepted Answer
More Answers (0)
Categories
Find more on Write C Functions Callable from MATLAB (MEX Files) 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!