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

  • Topic: MATLAB 
  • Thread starter EngageEngage
  • Start date
  • Tags Tags
    Matlab
2 replies · 4K views · last reply
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!
 
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).