Can I compile code for Windows machines on a Mac using Boot Camp to run Windows flavored MatLab?
1 view (last 30 days)
Show older comments
Is it possibly to compile MatLab code for Windows machines on a Macintosh by running MatLab under Windows 7 on Mountain Lion with Boot Camp or Parallels? I then want to run the compiled code on other standard Windows machines.
0 Comments
Answers (2)
Andreas Goser
on 26 Oct 2012
There are several products that do "code generation" in some way. You may want to specify. In case you talk about creating exectables with MATLAB Compiler, you need to install the necessary products also on the other machine and create everything you need there. Many professional license types allows you to do that at no extra cost.
2 Comments
Jason Ross
on 26 Oct 2012
I can't speak directly to any licensing issues.
When you are running Windows either in a VM or in a dual-boot setup you are running Windows. The Mac runs PC hardware, so I don't see how compiling running Windows on PC hardware and compiling on PC hardware would be a problem for making executables to run on Windows.
I will say from my experience that virtualization can add some significant overhead, and if your compile takes a significant amount of resources to complete, it's likely to be much quicker running on the "bare metal" using BootCamp rather than through a VM using Parallels.
0 Comments
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!