Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Compiling in Matlab

  1. Jun 29, 2008 #1
    Hi, I was wondering if it was possible to compile a MATLAB program somehow to a format that doesn't require MATLAB to view. If possible is there a format compatible with Macs and PCs? Thank you for any help!
  2. jcsd
  3. Jun 29, 2008 #2
    Yes. Matlab allows you to compile standalone applications that contain functionality from Matlab but that do not require Matlab itself to run. Matlab's documentation on how to do this is well worth a read. Type 'doc mcc' from within Matlab to get started.
  4. Jun 30, 2008 #3


    User Avatar
    Science Advisor
    Gold Member

    But you need the Matlab compilier and that is not included in the standard distribution, it is an extra "toolbox" although I don't think it is very expensive (compated to Matlab itself, that is).
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook