MATLAB Compiling MATLAB Program for Mac & PC

  • Thread starter Thread starter EngageEngage
  • Start date Start date
  • Tags Tags
    Matlab
AI Thread Summary
It is possible to compile a MATLAB program into a standalone application that does not require MATLAB to run on either Mac or PC. Users can access MATLAB's documentation by typing 'doc mcc' within MATLAB for guidance on the compilation process. The MATLAB Compiler is necessary for this task, but it is an additional toolbox not included in the standard MATLAB distribution. While the MATLAB Compiler incurs extra costs, it is relatively inexpensive compared to the full MATLAB software. Compiling MATLAB programs allows for broader accessibility and usability across different operating systems.
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).
 
Back
Top