Can you compile a MATLAB program to run without MATLAB installed?

  • Context: MATLAB 
  • Thread starter Thread starter EngageEngage
  • Start date Start date
  • Tags Tags
    Matlab
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 4K views
EngageEngage
Messages
203
Reaction score
0
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!
 
Physics news on Phys.org
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.
 
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).